editor/evil: remove redundant put & add comment
evil-define-key* now declares its own indentation, so I don't have to.
This commit is contained in:
parent
d1bed29680
commit
d32698b326
1 changed files with 2 additions and 2 deletions
|
@ -64,8 +64,6 @@ directives. By default, this only recognizes C directives.")
|
||||||
:config
|
:config
|
||||||
(evil-select-search-module 'evil-search-module 'evil-search)
|
(evil-select-search-module 'evil-search-module 'evil-search)
|
||||||
|
|
||||||
(put 'evil-define-key* 'lisp-indent-function 'defun)
|
|
||||||
|
|
||||||
;; stop copying each visual state move to the clipboard:
|
;; stop copying each visual state move to the clipboard:
|
||||||
;; https://github.com/emacs-evil/evil/issues/336
|
;; https://github.com/emacs-evil/evil/issues/336
|
||||||
;; grokked from:
|
;; grokked from:
|
||||||
|
@ -94,6 +92,8 @@ directives. By default, this only recognizes C directives.")
|
||||||
(defun +evil-emacs-cursor-fn ()
|
(defun +evil-emacs-cursor-fn ()
|
||||||
(evil-set-cursor-color (get 'cursor 'evil-emacs-color)))
|
(evil-set-cursor-color (get 'cursor 'evil-emacs-color)))
|
||||||
|
|
||||||
|
;; Ensure `evil-shift-width' always matches `tab-width'; evil does not police
|
||||||
|
;; this itself, so we must.
|
||||||
(setq-hook! 'after-change-major-mode-hook evil-shift-width tab-width)
|
(setq-hook! 'after-change-major-mode-hook evil-shift-width tab-width)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue