vimrc.extra

This commit is contained in:
pvincent
2026-08-31 08:38:32 +04:00
parent f4333f03f5
commit 3dcf643c2a
5 changed files with 20 additions and 13 deletions
+16
View File
@@ -0,0 +1,16 @@
" EXTRA vim user
" ---------------
" Highlight on Yank
if has('nvim')
" NVIM only features
augroup highlight_yank
autocmd!
au TextYankPost * silent! lua vim.highlight.on_yank()
augroup END
else
" VIM only features
if isdirectory($VIMRUNTIME . '/pack/dist/opt/hlyank')
packadd! hlyank
endif
endif