From 73240f018a14ad53e16f4e6c964b7b6090f574cb Mon Sep 17 00:00:00 2001 From: Yan Pritzker Date: Tue, 14 May 2013 18:10:25 -0500 Subject: [PATCH] Revert "Wrapping search. Perl regex while searching. Center search matches and jumps" This caused strange issues like inability to properly search for ruby instance variables. This reverts commit 88dd66685af2ba85970d5100bb5c1a3135213228. --- vim/plugin/settings/yadr-search.vim | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/vim/plugin/settings/yadr-search.vim b/vim/plugin/settings/yadr-search.vim index d9089ff..36166ea 100644 --- a/vim/plugin/settings/yadr-search.vim +++ b/vim/plugin/settings/yadr-search.vim @@ -5,17 +5,4 @@ set hlsearch " Hilight searches by default set viminfo='100,f1 " Save up to 100 marks, enable capital marks set ignorecase " Ignore case when searching... set smartcase " ...unless we type a capital -set wrapscan " Search wrap the file -" Using Perl/Python regex style by default when searching -nnoremap / /\v -vnoremap / /\v - -" Keep search matches in the middle of the window. -nnoremap n nzzzv -nnoremap N Nzzzv - -" Same when jumping around -nnoremap g; g;zz -nnoremap g, g,zz -nnoremap zz