aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--autoload/nohai.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/nohai.vim b/autoload/nohai.vim
index 726d4c8..a99c5e0 100644
--- a/autoload/nohai.vim
+++ b/autoload/nohai.vim
@@ -1,6 +1,6 @@
" Remaps <CR> in command mode to run `nohlsearch` after accepting the command.
function! s:AddMapping()
- silent! cnoremap <expr> <CR> <SID>CRAndNohlsearch()
+ cnoremap <expr> <silent> <CR> <SID>CRAndNohlsearch()
endfunction
" Removes the Nohai <CR> cmap.