Change show-paren-delay on normal state entry/exit
This commit is contained in:
parent
f662bb72b3
commit
e884b999d3
2 changed files with 5 additions and 2 deletions
|
@ -3,6 +3,10 @@
|
|||
|
||||
(use-package evil
|
||||
:init
|
||||
;; Speed up show-paren outside of normal mode (where my motions are minimal)
|
||||
(add-hook! evil-normal-state-entry (setq show-paren-delay 0.075))
|
||||
(add-hook! evil-normal-state-exit (setq show-paren-delay 0))
|
||||
|
||||
;; Disable highlights on insert-mode
|
||||
(add-hook! evil-insert-state-entry 'evil-ex-nohighlight)
|
||||
(add-hook! undo-tree-mode (diminish 'undo-tree-mode))
|
||||
|
@ -46,7 +50,6 @@
|
|||
;; Exit minibuffer if alive
|
||||
(if (minibuffer-window-active-p (minibuffer-window))
|
||||
(narf/minibuffer-quit))))
|
||||
|
||||
;; Jump to new splits
|
||||
(defadvice evil-window-split (after evil-window-split-jump activate)
|
||||
(evil-window-down 1))
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
(setq frame-title-format '(buffer-file-name "%f" ("%b"))))
|
||||
|
||||
;; Highlight matching parens
|
||||
(setq show-paren-delay 0.05)
|
||||
(setq show-paren-delay 0.075)
|
||||
(show-paren-mode 1)
|
||||
|
||||
(global-hl-line-mode 1) ; do highlight line
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue