Add some help commands to find function/variable declarations

This commit is contained in:
Gergely Polonkai 2017-04-18 11:00:05 +02:00
parent 88ae0712fc
commit ce943b24ae

View File

@ -1098,6 +1098,13 @@ INFO plist."
("o i" . gpolonkai/visit-init-file)
("o o" . gpolonkai/visit-org-index))
;; TODO: This doesnt 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 ()