]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: fix centering when jumping back
[dotfiles.git] / vim / vimrc
index 65242d4e81512ad2b39f820ca81c6f766ba58660..86ad1ba117fe967bd76b0ab062956aa07c074cbf 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -314,13 +314,12 @@ nmap <Leader># :%s:<C-R>/::gn<CR>
 " 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 <c-o> <c-o>zzzv
+nnoremap <c-i> <c-i>zzzv
 
 " Not using the default mappings of 'To line from top/bottom'
 noremap H ^