On Tue, Feb 27, 2018 at 9:09 PM, Bram Moolenaar <b...@moolenaar.net> wrote:
>
> Patch 8.0.1553
> Problem:    Cannot see what digraph is used to insert a character.
> Solution:   Show the digraph with the "ga" command. (Christian Brabandt)
> Files:      runtime/doc/various.txt, src/digraph.c, src/ex_cmds.c,
>             src/proto/digraph.pro, src/testdir/shared.vim,
>             src/testdir/test_matchadd_conceal.vim,
>             src/testdir/test_digraph.vim, src/testdir/test_ga.vim,
>             src/testdir/test_arabic.vim

See also Christan Brabandt's Unicode plugin,
https://www.vim.org/scripts/script.php?script_id=2822 , which provides
several Unicode-related "enhancements" to Vim. For instance, its
:UnicodeName command is a nice enhancement for ga, as follows:

if the cursor character is ы
ga
    <ы> 1099, Hex 044b, Oct 2113, Digr y=
:UnicodeName
    'ы' U+044B Dec:1099 CYRILLIC SMALL LETTER YERU (y=) &ycy; /\%u044b

giving all the info in even the new version of ga, but also the
Unicode codepoint name, the HTML entity, and a "search shortcut" to
find it.

Unlike ga, it will give all possible digraphs: for instance for £
ga
    <£> 163, Hex 00a3, Oct 243, Digr Pd
:UnicodeName
    '£' U+00A3 Dec 163 POUND SIGN (Pd $$) &pound; /\%ua3

The plugin is published in Vimball format.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui