Define evil-want-* options as defvars
To make it easier for users to customize.
This commit is contained in:
parent
123df290a6
commit
8b9d4a94bb
1 changed files with 6 additions and 8 deletions
|
@ -3,17 +3,15 @@
|
||||||
;; I'm a vimmer at heart. Its modal philosophy suits me better, and this module
|
;; I'm a vimmer at heart. Its modal philosophy suits me better, and this module
|
||||||
;; strives to make Emacs a much better vim than vim was.
|
;; strives to make Emacs a much better vim than vim was.
|
||||||
|
|
||||||
(defvar +evil-collection-disabled-list ()
|
;; Set these defaults before `evil'; use `defvar' so they can be changed prior
|
||||||
"A list of `evil-collection' modules to ignore. See the definition of this
|
;; to loading.
|
||||||
variable for an explanation of the defaults (in comments). See
|
(defvar evil-want-C-u-scroll t)
|
||||||
`evil-collection-mode-list' for a list of available options.")
|
(defvar evil-want-C-w-scroll t)
|
||||||
|
(defvar evil-want-Y-yank-to-eol t)
|
||||||
|
|
||||||
(def-package! evil
|
(def-package! evil
|
||||||
:init
|
:init
|
||||||
(setq evil-want-C-u-scroll t
|
(setq evil-want-visual-char-semi-exclusive t
|
||||||
evil-want-C-w-delete t
|
|
||||||
evil-want-Y-yank-to-eol t
|
|
||||||
evil-want-visual-char-semi-exclusive t
|
|
||||||
evil-magic t
|
evil-magic t
|
||||||
evil-echo-state t
|
evil-echo-state t
|
||||||
evil-indent-convert-tabs t
|
evil-indent-convert-tabs t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue