Smarter blink-matching-paren
This commit is contained in:
parent
50d6de0600
commit
67b6c41af7
2 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
||||||
(add-hook! evil-normal-state-exit (setq show-paren-delay 0))
|
(add-hook! evil-normal-state-exit (setq show-paren-delay 0))
|
||||||
;; Disable highlights on insert-mode
|
;; Disable highlights on insert-mode
|
||||||
(add-hook! evil-insert-state-entry 'evil-ex-nohighlight)
|
(add-hook! evil-insert-state-entry 'evil-ex-nohighlight)
|
||||||
(add-hook! undo-tree-mode (diminish 'undo-tree-mode))
|
;; Prevents "matches )" messages in minibuffer
|
||||||
|
(add-hook! evil-insert-state-entry (setq-default blink-matching-paren t))
|
||||||
|
(add-hook! evil-insert-state-exit (setq-default blink-matching-paren nil))
|
||||||
;; Always ensure evil-shift-width is consistent with tab-width
|
;; Always ensure evil-shift-width is consistent with tab-width
|
||||||
(add-hook! evil-local-mode (setq evil-shift-width tab-width))
|
(add-hook! evil-local-mode (setq evil-shift-width tab-width))
|
||||||
:config
|
:config
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
(size-indication-mode -1)
|
(size-indication-mode -1)
|
||||||
|
|
||||||
(setq-default
|
(setq-default
|
||||||
|
blink-matching-paren nil
|
||||||
line-spacing 1
|
line-spacing 1
|
||||||
;; Multiple cursors across buffers cause a strange redraw delay for
|
;; Multiple cursors across buffers cause a strange redraw delay for
|
||||||
;; some things, like auto-complete or evil-mode's cursor color
|
;; some things, like auto-complete or evil-mode's cursor color
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue