From 69bdbed2a4e2a73f54c84234f711b4b5b1607289 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 14 Feb 2020 10:22:03 -0500 Subject: [PATCH] Bind K to describe-symbol in emacs-lisp-mode --- emacs/init.org | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 47fa6d0..4cd2336 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -429,6 +429,11 @@ Some helpful ELisp packages: (general-def '(normal motion) emacs-lisp-mode-map "C-c C-c" #'eval-defun :keymaps 'override) (general-def '(normal motion insert) lisp-interaction-mode-map "C-c C-c" #'eval-print-last-sexp :keymaps 'override) (add-hook 'ielm-mode-hook 'smartparens-strict-mode) + (add-hook 'emacs-lisp-mode-hook + (lambda () + (set (make-local-variable 'evil-lookup-func) + (lambda () + (describe-symbol (symbol-at-point)))))) #+END_SRC ** Load path