highlight yank
This commit is contained in:
@@ -11,6 +11,7 @@ set tabstop=2
|
||||
set expandtab
|
||||
set number
|
||||
set relativenumber
|
||||
set splitbelow
|
||||
filetype plugin indent on
|
||||
|
||||
" Show Status
|
||||
|
||||
@@ -95,3 +95,14 @@ nmap ÿ <A-BS>
|
||||
imap ÿ <A-BS>
|
||||
tnoremap ÿ <A-BS>
|
||||
|
||||
" 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
|
||||
packadd! hlyank
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user