Re: On Tabs and Spaces
From: Andy Parkins <hidden>
Date: 2016-06-15 22:43:42
On Wednesday 2007 October 17, David wrote:
The last two are extremely useful, especially if you're hacking on python. That's listchars=(less-than)tab(greater-than)(colon)(dot)(backslash)(space) (don't forget the space!).
On the subject of high-ascii chars. Here's my favourite for your .vimrc execute 'set listchars+=tab:'.nr2char(187).nr2char(183) 187 is the "significantly greater than" symbol and 183 is a central dot. i.e. every character of a tab is non-space. The actual characters used aren't actually the point I wanted to make; the thing here is that two non-space characters are used, so every column occupied by the tab is visible - this makes it very easy to see where tabs end and spaces begin. Andy -- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com