add fez/insert-keybind, gitignore

This commit is contained in:
opfez 2021-05-21 11:11:17 +02:00
parent 4ffd8f0d0c
commit 9dd618b881
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
backups/*

View File

@ -44,6 +44,12 @@
(run-with-timer (or timeout 0.2) nil 'delete-overlay overlay)))
(transient-mark-mode))
(defun fez/insert-keybind ()
(interactive)
(insert (concat "(kbd \""
(key-description (read-key-sequence-vector "Key sequence: "))
"\")")))
;; Eshell convinience commands.
(defalias 'open 'find-file-other-window)
(defalias 'clean 'eshell/clear-scrollback)