in reply to Spaces vs Tabs

Since I'm retired and no longer get paid for code, I use tabs because they take less disk space (snicker).

Then for pasting to perlmonks I have the following line in my .vimrc (vim forever!)

nnoremap QQ :w !expand -2 \| (echo \<code\>; cat -; echo \</code\>) \| + xclip<CR>

which converts tabs to spaces and wraps the whole program in a code block and sticks it in the clipboard for immediate pasting.