On Mon, September 19, 2011 11:57 am, James Vega wrote:
> On Mon, Sep 19, 2011 at 02:42:08AM -0700, Ron Aaron wrote:
>> Therefore I wonder if there is at least some way to just not display
>> the trailing "^M", since it is "visual noise" for the most part and
>> doesn't cause any other tools we use any problems.
>
> Sounds like a use for the conceal feature that was introduced in 7.3.
> Something like
>
>   :syn match mixedLineEndings "
$" conceal
>   :set conceallevel=3
>
> Although, this will only hide the "^M" on lines other than the one your
> cursor is on.

For that you can set the concealcursor option to something like
set concealcursor=nv
or even
set concealcursor=nvi

regards,
Christian

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui