Thursday, April 12, 2012

Re: How to search in digraphs?

On 12/04/12 04:27, Chris Jones wrote:
[...]
> Well.. if you don't know the digraph, it's not going to be possible to
> search for it anyway.. It makes more sense to do a search on the ISO
> 10646 long descriptive name (3rd column of rfc1345). e.g. you need an
> arrow and you do a '/arrow'.. a star symbol.. '/star' etc.
[...]
In addition:

If you know the Unicode codepoint number in decimal, that is listed in
the output of the :digraphs command (not very searchable other than by
eyeball).

If you know the Unicode codepoint in decimal *or* in hex (the hex value
is how it is usually given), you can search for it in digraph.txt. It
helps to use the \< and \> word boundaries in your search pattern.

If you don't know the Unicode codepoint number, you can find it by means
of the following:
http://www.unicode.org/charts/ (charts by language or category)
http://www.unicode.org/charts/charindex.html (codepoints by name)

If you know the Unicode codepoint and there is no digraph for that
particular codepoint, see :help i_CTRL-V_digit


Best regards,
Tony.
--
Arnold's Laws of Documentation:
(1) If it should exist, it doesn't.
(2) If it does exist, it's out of date.
(3) Only documentation for useless programs transcends the
first two laws.

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