mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(vim): add autocommand to highlight yanked content
This commit is contained in:
@@ -213,3 +213,10 @@ source ~/.config/nvim/plugins/fzf.vim
|
||||
call plug#end()
|
||||
doautocmd User PlugLoaded
|
||||
|
||||
" *** *** *** Autocommands *** *** ***
|
||||
" ************************************
|
||||
|
||||
augroup highlight_yank
|
||||
autocmd!
|
||||
au TextYankPost * silent! lua vim.highlight.on_yank{higroup="IncSearch", timeout=700}
|
||||
augroup END
|
||||
|
||||
Reference in New Issue
Block a user