hydra: Disable evil-local-mode in the corelv buffer
Otherwise evil calls evil-refresh-cursor which reverts the cursor from being nil
This commit is contained in:
parent
4123b19314
commit
7ed141b7dd
|
@ -516,7 +516,16 @@ below. Anything else exits."
|
|||
(spacemacs|diminish hybrid-mode " Ⓔh" " Eh"))))
|
||||
|
||||
(defun spacemacs-base/init-hydra ()
|
||||
(use-package hydra))
|
||||
(use-package hydra
|
||||
:init
|
||||
;; turn off evil in corelv buffers
|
||||
(push '("\\*LV\\*") evil-buffer-regexps)
|
||||
|
||||
(defun spacemacs//hydra-key-doc-function (key key-width doc doc-width)
|
||||
(format (format "[%%%ds] %%%ds" key-width (- -1 doc-width))
|
||||
key doc))
|
||||
(setq hydra-key-doc-function 'spacemacs//hydra-key-doc-function)
|
||||
(setq hydra-head-format "[%s] ")))
|
||||
|
||||
(defun spacemacs-base/init-ido ()
|
||||
(ido-mode t)
|
||||
|
|
Loading…
Reference in a new issue