Add a couple of jump-to-def keybindings

This commit is contained in:
Bozhidar Batsov 2013-03-12 14:58:44 +02:00
parent 609a44a169
commit 3f29bd26f1

View file

@ -68,6 +68,11 @@
;; A complementary binding to the apropos-command (C-h a) ;; A complementary binding to the apropos-command (C-h a)
(define-key 'help-command "A" 'apropos) (define-key 'help-command "A" 'apropos)
(global-set-key (kbd "C-h C-f") 'find-function)
(global-set-key (kbd "C-h C-k") 'find-function-on-key)
(global-set-key (kbd "C-h C-v") 'find-variable)
(global-set-key (kbd "C-h C-l") 'find-library)
;; a complement to the zap-to-char command, that doesn't eat up the target character ;; a complement to the zap-to-char command, that doesn't eat up the target character
(autoload 'zap-up-to-char "misc" "Kill up to, but not including ARGth occurrence of CHAR.") (autoload 'zap-up-to-char "misc" "Kill up to, but not including ARGth occurrence of CHAR.")
(global-set-key (kbd "M-Z") 'zap-up-to-char) (global-set-key (kbd "M-Z") 'zap-up-to-char)