Re:What is in your .vimrc
by viraptor on Sunday August 21, 2011 @08:52AM
(#2909096)
Interesting bits:
make sure I'm scrolling visual lines, not real lines
noremap j gj
noremap k gk
ctrl+l/h for changing tabs
noremap <C-l> gt
noremap <C-h> gT
Search improvements:
set incsearch
set hlsearch
Best theme ever (very objective of course):
let g:inkpot_black_background = 1
colors inkpot
Making sure tmp files are stored in only one location, not all around the system:
if ! isdirectory(expand('~/vimtmp'))
call mkdir(expand('~/vimtmp'))
endif
if isdirectory(expand('~/vimtmp'))
set directory=~/vimtmp
else
set directory=.,/var/tmp,/tmp
endif
make sure I'm scrolling visual lines, not real lines
ctrl+l/h for changing tabs Search improvements: Best theme ever (very objective of course): Making sure tmp files are stored in only one location, not all around the system: