One or the other of you may be interested in the unicode.vim plugin,
https://vim.sourceforge.io/scripts/script.php?script_id=2822
It has several useful features related to digraphs and Unicode; one of
them is the :UnicodeName command which tells you a lot of information
for the character under the cursor and its composing characters if
any: for instance for я́ (Cyrillic lowercase ya with combining acute
accent) it tells me:
'я' U+044F Dec:1103 CYRILLIC SMALL LETTER YA (ja) я
' ' U+0301 Dec:769 COMBINING ACUTE ACCENT ́
The part in parentheses is the digraph (if any, and all of them if
there are several) for that character. If there exists a predefined
symbolic entity you see that instead of the hex entity at the end, for
instance for — (em dash):
'—' U+2014 Dec:8212 EM DASH (-M) —
An optional register argument tells it a register to save the message
(similar to :yank etc.).
Best regards,
Tony.
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment