Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 400 Bytes
;;; Exit insert, replace and visual states with C-SPC. -*- lexical-binding: t -*-
(with-eval-after-load 'evil
(dolist (key (list "C-SPC" "C-@"))
(bind-key key #'evil-normal-state evil-insert-state-map)
(bind-key key #'evil-normal-state evil-replace-state-map)
(bind-key key #'evil-exit-visual-state evil-visual-state-map)))
(provide 'conf/evil-specific/C-SPC-exits-insert-and-visual)