aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/nohai.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/nohai.vim b/plugin/nohai.vim
index dcb7630..a0dbbb2 100644
--- a/plugin/nohai.vim
+++ b/plugin/nohai.vim
@@ -1,5 +1,5 @@
function! s:AddMapping()
- silent! cnoremap <expr> <CR> <SID>CR()
+ silent! cnoremap <expr> <CR> <SID>CRAndNohlsearch()
endfunction
function! s:RemoveMapping()
@@ -11,7 +11,7 @@ function! s:Deactivate()
call s:AutocmdOff()
endfunction
-function! s:CR()
+function! s:CRAndNohlsearch()
return "\<CR>:nohlsearch\<CR>"
endfunction