From: Samir Benmendil Date: Mon, 27 Jul 2015 08:16:45 +0000 (+0100) Subject: vim: fix centering when jumping back X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/20cb289120eae19ef0354656926a8e6adcb0c8cf vim: fix centering when jumping back --- diff --git a/vim/vimrc b/vim/vimrc index 65242d4..86ad1ba 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -314,13 +314,12 @@ nmap # :%s:/::gn " center cursor after search and open folds nnoremap n nzzzv nnoremap N Nzzzv -nnoremap ^O ^Ozzzv -nnoremap ^I ^Izzzv " same when jumping around nnoremap g; g;zzzv nnoremap g, g,zzzv nnoremap zzzv +nnoremap zzzv " Not using the default mappings of 'To line from top/bottom' noremap H ^