" ================ Search Settings  =================

set incsearch       " Find the next match as we type the search
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 <c-o> <c-o>zz

" ================ Search Settings  =================

set incsearch       " Find the next match as we type the search
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


Revert "Wrapping search. Perl regex while searching. Center search matches and jumps"
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.

neilor/dotfiles,bionix/dotfiles-1,fernandoaleman/yadr,michaeljacobdavis/dotfiles-yadr,aqibmushtaq/dotfiles,qianthinking/dotfiles,ofer987/dotfiles,stinoga/dotfiles-1,swanandp/dotfiles,sztupy/dotfiles,theone4ever/dotfiles,hulajesus/dotfiles,ccll/dotfiles,tigershen23/dotfiles,andreazevedo/mac_dotfiles,Xiaobin0860/dotfiles,koheku/dotfiles,rchampourlier/dotfiles,jby/dotfiles,minhoolee/skwp-dotfiles,nakolkin/dotfiles,kylewest/yadr,mrap/linux-dotfiles,epelz/dotfiles,eywalker/walkspace,drajguru/dotfiles,auser/yadr,giorni/dotfiles,ay65535/yadr,mba811/dotfiles,btroo/dotfiles,rockymontana/skwp-dotfiles,kylewest/yadr,tosbourn/dotfiles,skjerven/dotfiles,KonradJanica/yadr-tm,rchampourlier/dotfiles,nikolai-b/dotfiles,swinstanley/dotfiles-1,leiklier/dotfiles,captainmike/dotfiles,chenhoward/dotfiles,j-mcnally/dotfiles,svdberg/dotfiles,codedecay/dotfiles-1,akitaonrails/dotfiles,Witos/dotfiles,theone4ever/dotfiles,uhjish/dotfiles,davidjaw/dotfiles,giorni/dotfiles,atsapov/dotfiles,KonradJanica/yadr-tm,lfilho/dotfiles,Witos/dotfiles,c-j-j/dotfiles-yadr,GiorgioNatili/vim,wesson-yi/dotfiles,c-j-j/dotfiles-yadr,yjlintw/dotfiles,chenhoward/dotfiles,pulni/mac_dotfiles,gnpkrish/yadr,j-mcnally/dotfiles,ds82/dotfiles,uni380/dotfiles,phongjalvn/dotfiles,uhjish/dotfiles,SherrySeibel/dotfiles,talbright/skwp-dotfiles,swanandp/dotfiles,xvaara/dotfiles,argami/dotfiles,pulni/mac_dotfiles,kanche/dotfiles,gupta-tarun/dotfiles,ptgamr/dotfiles-2,rockwarrior/dotfiles,davidjaw/dotfiles,andreazevedo/mac_dotfiles,ktemkin/dotfiles,zelga/dotfiles,periodic1236/dotfiles,olslash/dotfiles,davepgreene/yadr,yjlintw/dotfiles,pswaminathan/dotfiles,tmullen/dotfiles,neilor/dotfiles,jameszaghini/dotfiles,kirthar/dotfiles,fongoses/dotfiles,skwp/dotfiles,lhrkkk/yadr,josanastrid/dotfiles,mente/dotfiles,diego-oliveira/dotfiles-1,rrmartins/my_yadr,davepgreene/yadr,plribeiro3000/dotfiles,fernandoaleman/yadr,wesleyskap/dotfiles-1,denyago/dotfiles,fogisland/dotfiles,lhrkkk/dotfiles_old_2015_11_01,sideci-sample/sideci-sample-dotfiles,zelga/dotfiles,leiklier/dotfiles,ernestonakamura/dotfiles,javigon/dotfiles,333fred/dotfiles_yadr,tigershen23/dotfiles,mcmonkeyman/mcmonkeymans-fork-o-dotfiles,romansalin/dotfiles,goorockey/dotfiles,walkleyn/dotfiles,qianthinking/dotfiles,marcvreuls/dotfiles,hophacker/dotfiles,tullie/yadr-tm,zhang-ning/yadr,tallamjr/yadr-fork,tokeryberg/dotfiles-2,kqyang/dotfiles,argyakrivos/dotfiles,andrewSC/dotfiles,ds82/dotfiles,mcmonkeyman/mcmonkeymans-fork-o-dotfiles,diego9627/dotfiles,michaeljacobdavis/dotfiles-yadr,valentinzberea/dotfiles-yadr,tallamjr/yadr-fork,bcrochet/dotfiles,aeikenberry/yardr_dotfiles,eesdil/yadr,josanastrid/dotfiles,fabiopelosin/dotfiles,skwp/dotfiles,rhysyngsun/dotfiles,sayar/dotfiles,agamble/dotfiles,uhjish/dotfiles,kqyang/dotfiles,mrap/dotfiles,ChrisMcKenzie/dotfiles,bobek/dotfiles,lhrkkk/yadr,333fred/dotfiles_yadr,sideci-sample/sideci-sample-dotfiles,tientun/dotfiles,Xiaobin0860/dotfiles,tmullen/dotfiles,flyingfsck/dotfiles,mdarnall/dotfiles,nkgm/dotfiles,LouTheBrew/dotfiles,akitaonrails/dotfiles,fayimora/vps_dotfiles,NikitaAvvakumov/dotfiles,pulni/mac_dotfiles,mente/dotfiles,olslash/dotfiles,backus/yadr,dsimmons/dotfiles-old,tripl3inf/dotfiles,Jojo-Jojovich/dotfiles,kierangraham/dotfiles,gizero/dotfiles,aeikenberry/yardr_dotfiles,1gitGrey/dotfiles-1,nkgm/dotfiles,joeyyang/yadr,sztupy/dotfiles,zhang-ning/yadr,cfabianski/yadr-dotfiles,romansalin/dotfiles,uhjish/dotfiles,hderms/dotfiles,neanias/dotfiles,mba811/dotfiles,codedecay/dotfiles-1,summera/yadr-alt,kdheepak89/yadr-dotfiles,demis001/dotfiles,ktemkin/dotfiles,auser/yadr,lyanderson/dotfiles,mente/dotfiles,minhoolee/skwp-dotfiles,juvoni/dotfiles-1,nrolland/dotfiles,dsimmons/dotfiles-old,phongjalvn/dotfiles,negativo/dotfiles-2,cantoraz/yadr,javigon/dotfiles,jo-tez/yadr,andyattebery/dotfiles,nikolai-b/dotfiles,fabiopelosin/dotfiles,jckdrpr/dotfiles-1,kirthar/dotfiles,lfilho/dotfiles,LouTheBrew/dotfiles,jby/dotfiles,tyok/dotfiles,andrewSC/dotfiles,ernestonakamura/dotfiles,pruan-rht/dotfiles,ashlynbaum/dotfiles,robinrob/framework,macat/dotfiles,tyok/dotfiles,yjlintw/dotfiles,uni380/dotfiles,bob2314/dotfiles-1,tullie/yadr-tm,41407/dotfiles,rrmartins/my_yadr,hderms/dotfiles,epelz/dotfiles,jf87/dotfiles-yadr,sevenadrian/dotfiles,tkuichooseyou/dotfiles,xytis/dotfiles,joesus/dotfiles,bcrochet/dotfiles,walkleyn/dotfiles,hulajesus/dotfiles,gnpkrish/yadr,backus/yadr,mpeter/dotfiles,ignasi/dotfiles,alex-wood/dotfiles,tonynguyen68/dotfiles,patarra/dotfiles,sevenadrian/dotfiles,zhenyuy-fb/dotfiles,tonynguyen68/dotfiles,uhjish/dotfiles,lfilho/dotfiles,bobek/dotfiles,trongrg/dotfiles,K3yChain/yadr,drajguru/dotfiles,ohnorobo/dotfiles,SherrySeibel/dotfiles,joesus/dotfiles,wesleyskap/dotfiles-1,Sumukh/dotfiles,kanche/dotfiles,marcvreuls/dotfiles,rockymontana/skwp-dotfiles,41407/dotfiles,andyattebery/dotfiles,daxgames/dotfiles,sandeepjain/dotfiles,eesdil/yadr,pruan-rht/dotfiles,NikitaAvvakumov/dotfiles,333fred/dotfiles_yadr,cfabianski/yadr-dotfiles,jo-tez/yadr,rhysyngsun/dotfiles,kqyang/dotfiles,rbrcurtis/yadr,sandeepjain/dotfiles,bionix/dotfiles-1,minhoolee/skwp-dotfiles,joeyyang/yadr,lhrkkk/yadr,katgironpe/dotfiles,nakolkin/dotfiles,kierangraham/dotfiles,hunterowens/dotfiles-2,wesson-yi/dotfiles,btroo/dotfiles,argami/dotfiles,trongrg/dotfiles,ashlynbaum/dotfiles,diego9627/dotfiles,thekindofme/dotfiles,tientun/dotfiles,summera/yadr-alt,talbright/skwp-dotfiles,tripl3inf/dotfiles,nyxwulf/dotfiles,juvoni/dotfiles-1,jckdrpr/dotfiles-1,xkonni/dotfiles,ramiroaraujo/dotfiles,skjerven/dotfiles,nrolland/dotfiles,wesson-yi/dotfiles,uhjish/dotfiles,fayimora/dotfiles,GiorgioNatili/vim,ignasi/dotfiles,pswaminathan/dotfiles,denyago/dotfiles,kerbyfc/kdr,gnpkrish/yadr,xytis/dotfiles,fogisland/dotfiles,stinoga/dotfiles-1,ay65535/yadr,agamble/dotfiles,rbrcurtis/yadr,gupta-tarun/dotfiles,thekindofme/dotfiles,svdberg/dotfiles,xytis/dotfiles,skjerven/dotfiles,atsapov/dotfiles,ChrisMcKenzie/dotfiles,goorockey/dotfiles,cantoraz/yadr,brazencavalier/dotfiles,lhrkkk/yadr,kierangraham/dotfiles,daxgames/dotfiles,ofer987/dotfiles,ccll/dotfiles,flyingfsck/dotfiles,zhenyuy-fb/dotfiles,ohnorobo/dotfiles,ptgamr/dotfiles-2,gizero/dotfiles,kierangraham/dotfiles,argyakrivos/dotfiles,sangtt/mdotfiles,uhjish/dotfiles,diego-oliveira/dotfiles-1,minhoolee/skwp-dotfiles,Sumukh/dotfiles,jameszaghini/dotfiles,xkonni/dotfiles,1gitGrey/dotfiles-1,uhjish/dotfiles,hunterowens/dotfiles-2,jf87/dotfiles-yadr,patarra/dotfiles,mdarnall/dotfiles,mrap/linux-dotfiles,ttriggs/dotfiles,nyxwulf/dotfiles,kerbyfc/kdr,eywalker/walkspace,stevenbarragan/dotfiles,hunterowens/dotfiles-2,pairshaped/dotfiles,kerbyfc/kdr,ChrisMcKenzie/dotfiles,qianthinking/dotfiles,tosbourn/dotfiles,xvaara/dotfiles,phongjalvn/dotfiles,RyanMacG/dotfiles-1,koheku/dotfiles,alex-wood/dotfiles,swinstanley/dotfiles-1,jckdrpr/dotfiles-1,sangtt/mdotfiles,eesdil/yadr,ds82/dotfiles,fayimora/vps_dotfiles,ashlynbaum/dotfiles,bob2314/dotfiles-1,andrewSC/dotfiles,neanias/dotfiles,raiseandfall/vim-tmux-dotfiles,mrap/dotfiles,katgironpe/dotfiles,lhrkkk/dotfiles_old_2015_11_01,fongoses/dotfiles,ttriggs/dotfiles,plribeiro3000/dotfiles,martco/yadr,captainmike/dotfiles,brazencavalier/dotfiles,lyanderson/dotfiles,K3yChain/yadr,raiseandfall/vim-tmux-dotfiles,tkuichooseyou/dotfiles,aqibmushtaq/dotfiles,robinrob/framework,valentinzberea/dotfiles-yadr,hophacker/dotfiles,ramiroaraujo/dotfiles,demis001/dotfiles,periodic1236/dotfiles,martco/yadr,RyanMacG/dotfiles-1,pairshaped/dotfiles,kdheepak89/yadr-dotfiles,sayar/dotfiles,stevenbarragan/dotfiles,uhjish/dotfiles,fayimora/vps_dotfiles,fayimora/dotfiles,nyxwulf/dotfiles,tokeryberg/dotfiles-2,tyok/dotfiles,rockwarrior/dotfiles,negativo/dotfiles-2,Jojo-Jojovich/dotfiles,mpeter/dotfiles