diff --git a/dotfiles/config/nvim/init.vim b/dotfiles/config/nvim/init.vim index e1324a4..39ee40d 100644 --- a/dotfiles/config/nvim/init.vim +++ b/dotfiles/config/nvim/init.vim @@ -131,9 +131,6 @@ let g:rust_recommended_style=0 " Note noremap is a normal mode non-recursive mapping " nnoremap and nmap make the bind only work in normal mode -"map C-l to clear last search -:noremap :nohls - let mapleader=" " map t :NERDTreeToggle nnoremap r :call NumberToggle() @@ -141,9 +138,8 @@ nnoremap r :call NumberToggle() " This one maps F5 to delete all trailing whitespace nnoremap :let _s=@/:%s/\s\+$//e:let @/=_s:nohl -" Pressing enter in command mode clears the current search highlighting until -" the next search. -nnoremap :noh +"Bind C-l to clear last search +:noremap :nohls " ctrlp hotkeys let g:ctrlp_map=''