Re: On Tabs and Spaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux