:set listchars=tab:..

Otherwise, if for example you want your tabs to look like this (a
greater-than symbol, followed by multiple dashes):

int
main(int ac, char **av)
{
>---print("Hello, world!");
}

you need to:

:set listchars=tab:>-


Cheers,
Matteo


On Tue, Nov 15, 2011 at 5:35 AM, Jean-Rene David <[email protected]> wrote:
> * Manuel Ramos [2011.11.14 23:30]:
>> example:  I want to look like this.
>>
>> #include <stdio.h>
>> int main (int argc, const char * argv [])
>> {
>> ........ printf("***************\n");
>> ........ printf(" Hello World\n");
>> ........ if (/ * condition * /) {
>> ................/* Code * /
>> ................/* Code */
>> ........}
>> ....... return 0;
>> }
>
> :set listchars=tab:..
>
> :set list
>
> --
> JR
>



-- 
http://www.matteolandi.net/

-- 
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

Reply via email to