[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 10:06:15 +1100 |
On 17 March 2017 at 09:08, Chris Green <address@hidden> wrote:
> I'm trying to set up a single key to enter a 'tick'. The UTF code for
> this is u2714. I can successfully enter the character in vile using
> ^Vu2714 but I can't get a map! to enter the character for me.
>
> I have put the following in my .vilerc:-
>
> map! #4 ✔
> map! #5 ABCDE
>
> The F5 key works, it inserts ABCDE but F4 gives me ✔.
Try mapping it to ^Vu2714. That worked for me.
--bod