Add revert-buffer binding for global and help-mode
This commit is contained in:
parent
c983c98abe
commit
70af53a2c1
@ -184,6 +184,16 @@
|
|||||||
:config
|
:config
|
||||||
(windmove-default-keybindings))
|
(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)
|
;;;; external packages (required)
|
||||||
(use-package company :ensure
|
(use-package company :ensure
|
||||||
:config
|
:config
|
||||||
|
Loading…
Reference in New Issue
Block a user