From ce943b24ae853d29fdd9a4825498c6aea22413ef Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 18 Apr 2017 11:00:05 +0200 Subject: [PATCH] Add some help commands to find function/variable declarations --- init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.el b/init.el index b512ded..5d379a6 100644 --- a/init.el +++ b/init.el @@ -1098,6 +1098,13 @@ INFO plist." ("o i" . gpolonkai/visit-init-file) ("o o" . gpolonkai/visit-org-index)) +;; TODO: This doesn’t work with use-package and bind-key for some reason. +;; But why? +(define-key 'help-command (kbd "C-l") 'find-library) +(define-key 'help-command (kbd "C-f") 'find-function) +(define-key 'help-command (kbd "C-k") 'find-function-on-key) +(define-key 'help-command (kbd "C-v") 'find-variable) + ;; Kudos goes to ;; http://endlessparentheses.com/leave-the-cursor-at-start-of-match-after-isearch.html (defun isearch-exit-other-end ()