diff options
author | self <george@gabbott.dev> | 2022-11-20 12:59:50 +0000 |
---|---|---|
committer | self <george@gabbott.dev> | 2022-11-20 12:59:50 +0000 |
commit | 247a3a665a3cf284b53d18d446d909d5fdd07db4 (patch) | |
tree | 03f612cb79338f4fe3fe4d4ca8ad38ec938b8eb7 /init.vim | |
parent | 2cc2407123b0e5fa50da767325adc11f0151ac2f (diff) |
highlight yanked text for a bit
Diffstat (limited to 'init.vim')
-rwxr-xr-x | init.vim | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -30,6 +30,9 @@ command Wq wq command Q q command WQ wq +" Highlight yanked text +autocmd TextYankPost * silent! lua vim.highlight.on_yank { higroup='IncSearch', timeout=4000 } + " Telescope shortcuts noremap <leader>cs :Telescope colorscheme<CR> noremap <leader>gr :Telescope grep_string<CR> @@ -139,7 +142,7 @@ nmap <F8> :TagbarToggle<CR> " NerdTree Plug 'preservim/nerdtree' Plug 'Xuyuanp/nerdtree-git-plugin' -Plug 'tiagofumo/vim-nerdtree-syntax-highlight' +" Plug 'tiagofumo/vim-nerdtree-syntax-highlight' Plug 'ryanoasis/vim-devicons' " must be last? nmap <F7> :NERDTreeToggle<CR> |