vim:keys: Center search results after N too
Forgot that one.
This commit is contained in:
@@ -271,6 +271,7 @@ vnoremap = =gv
|
||||
|
||||
" Center search results
|
||||
noremap n nzz
|
||||
noremap N Nzz
|
||||
cnoremap <expr> <CR> "<CR>" .
|
||||
\ (getcmdtype() == '/' \|\| getcmdtype() == '?'
|
||||
\ ? "zz"
|
||||
|
||||
Reference in New Issue
Block a user