Monday, October 10, 2016

Re: How to input character 'ƒ' (U+0192)

On Sat, Oct 8, 2016 at 9:29 PM, Steve <dlist@bluewin.ch> wrote:
> Hi Linda,
>
> diphraphs are what you are looking for.
>
> Type :h digraphs or simply :digraphs for a comprehensive list.
>
> for some usefull information.
>
> I would type <ctlr>km3 to get ϝ.
>
> Steve

See also :help i_CTRL-V_digit

However, if (as is recommended) you set 'encoding' to "utf-8", you
have to use the proper Unicode codepoint. The florin symbol is not 192
decimal but 192 hex, and as you said, it is known by Unicode as
"U+0192 LATIN SMALL LETTER F WITH HOOK [...] = Florin currency symbol
(Netherlands) [...]"

So you could enter it as Ctrl-V followed by u0192. This works for all
Unicode codepoints in the BMP (basic multilingual pane), i.e. U+0000
to U+FFFF (some of these, however, do not represent a character, and
for those which your keyboard knows about there is of course an easier
way). (Actually, in Vim, codepoint zero is represented internally as
0x10, the linefeed code; to enter an actual linefeed in a file you
have to break the line).

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: