Saturday, July 31, 2010

Re: How could I show the line by indent as in notepad++?

On 07/20/2010 12:24 PM, Tony Mechelynck wrote:
> On 20/07/10 05:32, H Xu wrote:
>> Hello everyone,
>>
>> In notepad++, when editing c/c++ or java source files, there are
>> vertical lines clearly shows the indent of the file.
>>
>>
>>
>> How could I show the lines in vim?
>>
>> Regards,
>> Hong Xu
>> 2010/7/20
>>
>> --
>> 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
>
> Install Vim 7.3b and use the 'colorcolumn' option. Or do it the hard
> way, see
> :help :match
> :help :2match
> :help matchadd()
> :help /ordinary-atom
>
>
> Best regards,
> Tony.
Hello Tony Mechelynck,

'colorcolumn' option depends on the value of textwidth, and can only
highlight one
column. Is there any other method? Thank you.

Regards,
Hong Xu
08/01/2010

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