diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d70b5f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backups/* \ No newline at end of file diff --git a/custom.el b/custom.el index 7eda172..bd0681a 100644 --- a/custom.el +++ b/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)