use evil normal mode as default for ivy-occur-grep-mode

This commit is contained in:
Ting Zhou 2018-06-13 14:14:06 -07:00 committed by bmag
parent 7c9f612c4f
commit 9dc5ba8439
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@
(global-set-key (kbd "C-c C-r") 'ivy-resume)
(global-set-key (kbd "<f6>") 'ivy-resume)
;; Occur
(evil-set-initial-state 'ivy-occur-grep-mode 'normal)
(evil-make-overriding-map ivy-occur-mode-map 'normal)
(ivy-set-occur 'spacemacs/counsel-search
'spacemacs//counsel-occur)