Get rid of window-switch hook (defective)
This commit is contained in:
parent
70b0bdad2a
commit
2e4a083bbb
2 changed files with 0 additions and 16 deletions
|
@ -74,11 +74,6 @@
|
|||
))
|
||||
(evil-set-initial-state `,(car mode-map) `,(cdr mode-map)))
|
||||
|
||||
;; Switch to normal mode before switching windows
|
||||
(defun narf|evil-back-to-normal (&rest _)
|
||||
(when (eq evil-state 'insert) (evil-normal-state)))
|
||||
(add-hook! narf.window-switch 'narf|evil-back-to-normal)
|
||||
|
||||
(progn ; evil hacks
|
||||
(defadvice evil-force-normal-state (after evil-esc-quit activate)
|
||||
"Close popups, disable search highlights and quit the minibuffer if open."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue