diff --git a/home/.config/nvim/rc/mappings.vim b/home/.config/nvim/rc/mappings.vim index 6ecbf83..4b3bf35 100644 --- a/home/.config/nvim/rc/mappings.vim +++ b/home/.config/nvim/rc/mappings.vim @@ -4,8 +4,8 @@ nnoremap nnoremap nnoremap -" Stop search highlight on Ctrl+l (until next search) -map :noh +" Stop search highlight with Esc in normal mode (until next search) +nnoremap :noh " System clipboard interactions map "+y @@ -63,3 +63,10 @@ nnoremap :w \| !comp % " Shell check nnoremap p :!shellcheck % +" Redefine the incredibely annoying mappings that trigger +" dynamic SQL completion with dbext and keeps on freezing +" vim whenever pressed with a message saying that +" dbext plugin isn't installed... +" See :h ft-sql.txt +let g:omni_sql_no_default_maps = 1 +