From: Samir Benmendil Date: Tue, 16 Jun 2015 03:22:54 +0000 (+0100) Subject: vim: center after ^{O,I} jumps X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/4fd50d9e4fe77fc8bd0d3c2b356b15e4b13757eb vim: center after ^{O,I} jumps --- diff --git a/vim/vimrc b/vim/vimrc index 6884590..e59de75 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -313,6 +313,8 @@ 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