Bind K to describe-symbol in emacs-lisp-mode

This commit is contained in:
Jeremy Dormitzer 2020-02-14 10:22:03 -05:00
parent 354edee92e
commit 69bdbed2a4

View File

@ -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) 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) (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 '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 #+END_SRC
** Load path ** Load path