summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2024-11-07 01:20:59 +0100
committernavewindre <boneyaard@gmail.com>2024-11-07 01:20:59 +0100
commit94015ad4e62410e43a0307bef74f52e847f0571b (patch)
tree3c668500dcdd2ec650d8beb475a9a1a251d1efa1 /vimrc
parente7aa124a311540faad9a5da253cd115c6634be8d (diff)
a
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 8d7ec52..c41440d 100644
--- a/vimrc
+++ b/vimrc
@@ -693,3 +693,8 @@ aunmenu PopUp.Inspect
aunmenu PopUp.-1-
aunmenu PopUp.How-to\ disable\ mouse
anoremenu PopUp.Inspect <Cmd>Inspect<CR>
+
+augroup highlight_yank
+ autocmd!
+ au TextYankPost * silent! lua vim.highlight.on_yank { higroup='TelescopeSelection', timeout=200 }
+augroup END