add fez/insert-keybind, gitignore
This commit is contained in:
parent
4ffd8f0d0c
commit
9dd618b881
|
@ -0,0 +1 @@
|
||||||
|
backups/*
|
|
@ -44,6 +44,12 @@
|
||||||
(run-with-timer (or timeout 0.2) nil 'delete-overlay overlay)))
|
(run-with-timer (or timeout 0.2) nil 'delete-overlay overlay)))
|
||||||
(transient-mark-mode))
|
(transient-mark-mode))
|
||||||
|
|
||||||
|
(defun fez/insert-keybind ()
|
||||||
|
(interactive)
|
||||||
|
(insert (concat "(kbd \""
|
||||||
|
(key-description (read-key-sequence-vector "Key sequence: "))
|
||||||
|
"\")")))
|
||||||
|
|
||||||
;; Eshell convinience commands.
|
;; Eshell convinience commands.
|
||||||
(defalias 'open 'find-file-other-window)
|
(defalias 'open 'find-file-other-window)
|
||||||
(defalias 'clean 'eshell/clear-scrollback)
|
(defalias 'clean 'eshell/clear-scrollback)
|
||||||
|
|
Loading…
Reference in New Issue