Thursday, November 22, 2012

mapleader to tilde "~"

Hi, I'm trying to map my leader key to tilde "~" since it lays in a
convenient position in a ABNT2 keyboard layout [1] and I don't use the
toggle case functionality too often.

I have the following line in my .vimrc file:

let mapleader = "~"

But it is doest not work, setting the leader key to another key like
"p" works as expected.

Do I have to escape the tilde? I tried using It's unicode
representation with no success.

Thanks for the help,

[1] http://nando.oui.com.br/_images/teclado-abnt2.png

--
Henrique Camargo

Email: henrique@henriquecamargo.com
Phone: +55 41 99152915

--
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

No comments: