doomemacs/core/core-evil.el

48 lines
1 KiB
EmacsLisp
Raw Normal View History

2017-01-16 23:15:48 -05:00
;;; core-evil.el --- Come to the dark side, we have cookies
2015-06-06 06:40:33 -04:00
2017-01-16 23:15:48 -05:00
;; TODO Document
(defvar doom-evil-leader ","
"docstring")
(defvar doom-evil-localleader "\\"
"docstring")
;;
;; Packages
;;
(package! evil :demand t
2015-06-04 18:23:21 -04:00
:init
(setq evil-magic t
evil-want-C-u-scroll t
evil-ex-visual-char-range t ; column range for ex commands
evil-want-visual-char-semi-exclusive t
evil-ex-search-vim-style-regexp t
evil-ex-interactive-search-highlight 'selected-window
evil-echo-state nil
evil-ex-substitute-global t
evil-insert-skip-empty-lines t
evil-want-fine-undo nil
evil-normal-state-tag "N"
evil-insert-state-tag "I"
evil-visual-state-tag "V"
evil-emacs-state-tag "E"
evil-operator-state-tag "O"
evil-motion-state-tag "M"
2017-01-16 23:15:48 -05:00
evil-replace-state-tag "R")
2015-06-15 09:05:52 +02:00
:config
2017-01-16 23:15:48 -05:00
(evil-mode +1)
(evil-select-search-module 'evil-search-module 'evil-search))
2015-06-15 09:05:52 +02:00
2015-06-04 18:23:21 -04:00
2017-01-16 23:15:48 -05:00
;;
;; Autoloaded Packages
;;
2016-04-04 12:06:34 -04:00
2015-06-04 18:23:21 -04:00
(provide 'core-evil)
;;; core-evil.el ends here