VIM config.
Table of Contents
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>
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>