VIM config

Tobias Schmidt published on
1 min, 28 words

vimrc

set·noswapfile↵
set·list↵
set·listchars=space:·,tab:>-,eol:↵↵
set·hlsearch↵
"Remove all trailing whitespace by pressing F5
nnoremap <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar><CR>