5 ms·
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
by viraptor 15y ago
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