about summary refs log tree commit diff stats
path: root/dot_config/nvim
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2023-07-15 12:47:21 -0300
committerVitor Gonçalves <vitorg@tilde.team>2023-07-15 12:47:21 -0300
commit208fa8bc6d71d3b39cd7ec2961dffce3bd3583cd (patch)
treedececcba694b68aec9282d5ea2a0a48945d32565 /dot_config/nvim
parentcdfe8d8cb1b92d19601f557ab50d12df9156352f (diff)
downloaddots-208fa8bc6d71d3b39cd7ec2961dffce3bd3583cd.tar.gz
nvim: <esc><esc> removes search highlighting
Diffstat (limited to 'dot_config/nvim')
-rw-r--r--dot_config/nvim/init.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim
index 0b39220..105bdbb 100644
--- a/dot_config/nvim/init.vim
+++ b/dot_config/nvim/init.vim
@@ -46,6 +46,7 @@ nnoremap <leader>h <C-w>h
 nnoremap <leader>j <C-w>j
 nnoremap <leader>k <C-w>k
 nnoremap <leader>l <C-w>l
+nnoremap <silent> <Esc><Esc> :nohlsearch<CR>
 set splitright splitbelow
 
 " easy write