Monday, November 1, 2010

Re: Nice display of leading tabs

On 11/1/10 9:55 AM, Brian L. Matthews wrote:
> On 11/1/10 9:26 AM, statquant2 wrote:
>> browsing for a nice theme I found this http://leetless.de/vim.html, I am
>> intersted to understand how you can have this nice display of
>> indentation
>> you can see on any theme of the page.
>> I browsed the guy .vimrc file but I can't make it work.
>
> It's the tab setting in his lcs (aka listchars) setting. I use:
>
> set listchars=eol:$,tab:>─,extends:>,precedes:<,nbsp:~$
>
> I've also used:
>
> set listchars=eol:$,tab:|_,extends:>,precedes:<,nbsp:~$

Ok, this is what I get for doing things from memory and not testing. :-(
You have to escape the |:

set listchars=eol:$,tab:\|_,extends:>,precedes:<,nbsp:~$

Brian

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment