set exrc set autoindent set cindent set cinoptions=(0 set expandtab set sw=4 set listchars=eol:•,tab:→\ ,trail:␣,extends:↷,precedes:↶,nbsp:⁔ set list set clipboard=autoselect set fillchars=vert:│ set splitright highlight VertSplit term=NONE cterm=NONE gui=NONE match Error "\s\+$" autocmd BufRead * silent %g/ /set noexpandtab autocmd BufRead * silent %g/^ \+{$ /set cinoptions={.5s,:.5s,+.5s,t0,g0,^-2,e-2,n-2,p2s,(0,=.5s autocmd BufRead * silent %g/.*if .*) {$ /set cinoptions=:0,l1,t0,g0,{s let g:packager="Ray Strode " nmap s :cs find s =expand("") nmap g :cs find g =expand("") nmap c :cs find c =expand("") nmap t :cs find t =expand("") nmap e :cs find e =expand("") nmap f :cs find f =expand("") nmap i :cs find i ^=expand("")$ nmap d :cs find d =expand("") " Using 'CTRL-spacebar' then a search type makes the vim window " split horizontally, with search result displayed in " the new window. nmap s :scs find s =expand("") nmap g :scs find g =expand("") nmap c :scs find c =expand("") nmap t :scs find t =expand("") nmap e :scs find e =expand("") nmap f :scs find f =expand("") nmap i :scs find i ^=expand("")$ nmap d :scs find d =expand("") " Hitting CTRL-space *twice* before the search type does a vertical " split instead of a horizontal one nmap s :vert scs find s =expand("") nmap g :vert scs find g =expand("") nmap c :vert scs find c =expand("") nmap t :vert scs find t =expand("") nmap e :vert scs find e =expand("") nmap i :vert scs find i ^=expand("")$ nmap d :vert scs find d =expand("") map gt :call TimeLapse()