Sunday, November 4, 2012

Re: Tag references and tabs in help files

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?
>
Simple: To make text invisible, not just with a background and
foreground of the same colour, but actually occupying no space on the
screen.

Whether that is desirable, and in which cases, is a question of user
preference. Vim is about choice, and in fact Vim old-timers are proud of
the fact that with Vim, there are often several ways (sometimes _many_
ways) to achieve a desired result.

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.


Best regards,
Tony.
--
British Israelites:
The British Israelites believe the white Anglo-Saxons of
Britain to be descended from the ten lost tribes of Israel deported by
Sargon of Assyria on the fall of Sumeria in 721 B.C. ... They further
believe that the future can be foretold by the measurements of the
Great Pyramid, which probably means it will be big and yellow and in
the hand of the Arabs. They also believe that if you sleep with your
head under the pillow a fairy will come and take all your teeth.
-- Mike Harding, "The Armchair Anarchist's Almanac"

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