vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] How to use map! to enter 'special' UTF8 characters?


From: Brendan O'Dea
Subject: Re: [vile] How to use map! to enter 'special' UTF8 characters?
Date: Fri, 17 Mar 2017 20:06:56 +1100

On 17 March 2017 at 19:55, Chris Green <address@hidden> wrote:
>> Try mapping it to ^Vu2714.  That worked for me.
>>
> That's *exactly* what I have done, it shows correctly (as above) in
> .vilerc but when I hit F4 in insert mode while editing I see the
> string â\u009C\0094.  I can insert a ✔ by typing CTRL/V + u + 27 + 14
> though, it displays OK in vile.

Don't map it to the *value* of ^Vu2714, map it to that sequence of
characters.  i.e. your .vilerc should contain a ^V and the following
characters, *not* the tick character.  Obviously you need to type
"map! # ^V^Vu2714" when editing .vilerc to get that single literal ^V.

--bod



reply via email to

[Prev in Thread] Current Thread [Next in Thread]