From 20cb289120eae19ef0354656926a8e6adcb0c8cf Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 27 Jul 2015 09:16:45 +0100 Subject: [PATCH] vim: fix centering when jumping back --- vim/vimrc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ^ -- 2.48.1