Browse Source

Define a few keybindings in terms of help-command

custom
Bozhidar Batsov 12 years ago
parent
commit
c0550168f3
  1. 8
      core/prelude-global-keybindings.el

8
core/prelude-global-keybindings.el

@ -65,10 +65,10 @@
;; A complementary binding to the apropos-command (C-h a)
(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)
(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)
(define-key 'help-command (kbd "C-l") 'find-library)
;; 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.")

Loading…
Cancel
Save