commit 0a3b06fecf10f8c78e17d3ff107396635b223d16
parent 52773e66cd0066ceeaaba0c549aa2ce25bed1cea
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 12 May 2022 22:06:03 +0200
vim: mapping n/N to zz doesn't work with vim-smoothie
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -1002,11 +1002,6 @@ vnoremap <silent> <leader>hc :call clearmatches()<CR>
noremap <expr> <SID>(search-forward) 'Nn'[v:searchforward]
" and N always search backward
noremap <expr> <SID>(search-backward) 'nN'[v:searchforward]
-" and center search results on the screen
-nmap n <SID>(search-forward)zzzv
-xmap n <SID>(search-forward)zzzv
-nmap N <SID>(search-backward)zzzv
-xmap N <SID>(search-backward)zzzv
" backspace to switch to alternate buffer
nnoremap <backspace> <c-^>