replace: Bind q to quit-window when not editing
q is bound by default to dismiss the window, which is useful when occur is being used only to navigate occurrences and not edit them.
This commit is contained in:
parent
ef8c35d332
commit
93bb658d2f
|
@ -58,6 +58,7 @@
|
|||
(kbd "C-k") 'previous-error-no-select
|
||||
"r" 'occur-rename-buffer
|
||||
"c" 'clone-buffer
|
||||
"q" 'quit-window
|
||||
(kbd "C-c C-f") 'next-error-follow-minor-mode)
|
||||
|
||||
(evil-collection-define-key 'normal 'occur-edit-mode-map
|
||||
|
|
Loading…
Reference in New Issue