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
|
2016-04-23 22:08:46 -04:00
|
|
|
(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
|
2016-06-08 14:36:35 -04:00
|
|
|
evil-want-fine-undo nil
|
2016-04-23 22:08:46 -04:00
|
|
|
|
|
|
|
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-10-15 14:01:53 -04:00
|
|
|
|
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
|