neovim: mark yanked text

This commit is contained in:
Jidbo 2021-12-15 12:26:38 +01:00 committed by saibotk
parent ecceb87199
commit c239c6117f
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -6,7 +6,7 @@ let mapleader=" "
" color settings " color settings
set termguicolors set termguicolors
colorscheme kuroi colorscheme kuroi
set background=dark set background=dark
hi MatchParen guibg=NONE guifg=red gui=bold hi MatchParen guibg=NONE guifg=red gui=bold
@ -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()