From ca462be37e2015ee7dc289969c6b5da81e545687 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 21 Jun 2011 15:22:14 +0200 Subject: [PATCH] Revert "vimrc: Behave like 'scrolloff' while searching." This reverts commit 63c87697a4eafe134ae1196021afd8441c6b4e33. It caused problems with matches at the end of the file (you can't reach them because of the wrong "scrolloff"). --- vimrc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vimrc b/vimrc index 4c5f852..6e41864 100644 --- a/vimrc +++ b/vimrc @@ -227,11 +227,6 @@ cnoremap nnoremap nnoremap - -" Behave like 'scrolloff' but only while searching. Thanks to "Benjamin R. -" Haskell" from the Vim mailing list (2010-10-26). -nnoremap n nzv3j3k -nnoremap N Nzv3k3j - " Go to next and previous buffer. Thanks to elik in #vim on Freenode " (2010-05-16 18:38 CEST) for this idea. nnoremap gb :bnext -- 2.45.2