134659Re: mapleader to tilde "~"
- Nov 22, 2012On Thu, Nov 22, 2012 at 4:27 PM, Ivan S. Freitas
> On Thu, Nov 22, 2012 at 2:20 PM, Henrique CamargoThanks, that's exactly what is happening.
> <henrique@...> wrote:
>> Hi, I'm trying to map my leader key to tilde "~" since it lays in a
>> convenient position in a ABNT2 keyboard layout  and I don't use the
>> toggle case functionality too often.
> I don't think you will be able to do that just using vim, since the tilde is a
> dead key on the abnt2 layout.
If I change the keyboard layout from "Portuguese (Brazil)" to
"Portuguese (Brazil, eliminate dead keys)" vim starts to behave as
expected (since now the system is not waiting for the next character
and sends the tilde immediately to vim).
> Assuming a Linux machine, you may be able to turn that to only oneI'll try to find a solution to only modify the key when running vim. I
> keystroke by using
> xmodmap, but AFAIK there is no direct way to make it affect only vim,
> i.e., it is changed
> globally. Also, if you make it a non-dead key, you may be unable to
> enter accented characters
> by usual means.
can then map ~a to ã (as well as the others especial characters)
manually using inoremap. But, for now, I'll find another leader key.
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
- << Previous post in topic Next post in topic >>