Browse Source

add fez/insert-keybind, gitignore

master
opfez 8 months ago
parent
commit
9dd618b881
  1. 1
      .gitignore
  2. 6
      custom.el

1
.gitignore

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

6
custom.el

@ -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)

Loading…
Cancel
Save