Sunday, November 4, 2012

Re: Tag references and tabs in help files

Tony Mechelynck <antoine.mechelynck@gmail.com> wrote:

> On 04/11/12 17:49, stosss wrote:
> [...]
>
>>
>> Okay I read :h conceal what exactly is the benefit of this setting?
>> Why would one use it?
>>
...
> An example of usefulness of the feature would be to display a file
> containing ANSI escape sequences: for instance, with a properly constructed
> syntax script, the sequence ^[[1;35;42m (where the initial ^[ is an actual
> Escape) would set bright green on magenta, but the sequence itself would be
> concealed by Vim just as it would be by an ANSI terminal.

Charles Campbell has a nice plugin doing exactly that:

http://www.vim.org/scripts/script.php?script_id=302

-- Dominique

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