Add revert-buffer binding for global and help-mode

This commit is contained in:
Adam Goldsmith 2017-08-05 12:25:53 -04:00
parent c983c98abe
commit 70af53a2c1
1 changed files with 10 additions and 0 deletions

View File

@ -184,6 +184,16 @@
:config
(windmove-default-keybindings))
(use-package help-mode
:config
; bind "g" to revert help buffers with no prompt
(bind-key "g" (lambda () (interactive) (revert-buffer t t)) help-mode-map))
(use-package files
:config
; bind a key to revert buffers with no prompt
(bind-key "C-x M-v" (lambda () (interactive) (revert-buffer t t t))))
;;;; external packages (required)
(use-package company :ensure
:config