Thursday, September 9, 2010

Re: convenient settings for /etc/motd etc. that has multi-character color codes

On Sep 8, 12:48 am, "Christian Brabandt" <cbli...@256bit.org> wrote:
> >> I was wondering if vim had a smart way of dealing with this?!
>
> > You could use the new conceal support in Vim 7.3.
>
> Have never used it, but I believe AnsiEsc[1] by Charles Campbell does
> conceal color codes.

Thanks Christian and Simon. The extension you mentioned looks very
promising.

My default CentOS comes with an old version 7.0.237 which doesn't even
mention the "conceal" config option. Hence I pulled the latest
mercurial sources and compiled. This new "version 7.3.3" has a
"+syntax" but a "-conceal".

How do I enable the "conceal" option at compile time? I tried './
configure --enable-conceal' but doesn't work.

Or do I have to actually pull the patches from the conceal developers
website? I am confused! Any tips?

--
Rahul

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