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 88dd66685a.
This commit is contained in:
@@ -5,17 +5,4 @@ set hlsearch " Hilight searches by default
|
|||||||
set viminfo='100,f1 " Save up to 100 marks, enable capital marks
|
set viminfo='100,f1 " Save up to 100 marks, enable capital marks
|
||||||
set ignorecase " Ignore case when searching...
|
set ignorecase " Ignore case when searching...
|
||||||
set smartcase " ...unless we type a capital
|
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 <c-o> <c-o>zz
|
|
||||||
|
|||||||
Reference in New Issue
Block a user