How can I configure vim to display hidden characters like tabs or spaces ONLY while those characters are typed? I do not want tabs and/or space replaced with special characters like ">" or "_" when the file is written.
listchars. This is what I have in my
set list set listchars=tab:→\ ,extends:»,precedes:«,trail:▒,nbsp:·
Show a right arrow for tabs, a semi-filled block for trailing whitespace, and a middot for non-breaking spaces. This is purely for display; the file does not contain those fancy characters.
Drew Neils' Vimcasts are amazing, take a look at this one. It help me made the transition from Textmate to Vim