Thursday, September 9, 2010

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

On Thursday 09 September 2010 15:06:39 Rahul wrote:

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

you need at least a big build to have conceal, normal won't
include it -- look at the output of

:ver

about three or four lines from the top -- mine says

Big version with GTK2 GUI.

yours will be similar, but the size of the build has to be at
least big for conceal to be included

when you run configure, add

--with-features=big

or

--with-features=huge

to get a build that will include it

hth,

sc

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