neovim: mark yanked text
This commit is contained in:
parent
ecceb87199
commit
c239c6117f
1 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,7 @@ set number
|
||||||
set rnu
|
set rnu
|
||||||
set clipboard=unnamed
|
set clipboard=unnamed
|
||||||
set mouse=nvi
|
set mouse=nvi
|
||||||
|
|
||||||
" set smarttab
|
" set smarttab
|
||||||
set expandtab
|
set expandtab
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
|
@ -53,3 +54,6 @@ set splitright
|
||||||
" Enable folding
|
" Enable folding
|
||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
set foldlevel=99
|
set foldlevel=99
|
||||||
|
|
||||||
|
" highlight yanked
|
||||||
|
au TextYankPost * silent! lua vim.highlight.on_yank()
|
||||||
|
|
Loading…
Add table
Reference in a new issue