I'm having a little bit of trouble setting langmap to my taste. I have:
set langmap=ñ[,+],ç},Ñ{
The problem is that the 'ñ' and 'ç' keys only work for functions that are
defined in Vim. It is not working, for example, with unimpaired (a plugin that
defines many commands that start with '[' or ']'), or with a simple mapping
that I've tried:
nmap [j :echom "foo!"<CR>
If I press the real '[' and a 'j', i see the message, but the 'ñ' that is
supposed to be equivalent does nothing. I can use it in '[[', '[P' or any
other functionality that is native to Vim, but not anything custom.
The odd thing is that any other key seems to work. The '+' or '-' can be
mapped and work nice in both native and customized functions.
The even more strange thing, is that if I press a single 'ñ', I see a '[' in
the bottom line (using showcmd). When I press the next character, it
disappears and nothing happens.
Any ideas are very welcome.
Thank you.
PS: I also tried other variations of the same map, e.g.:
set langmap=ñ+Ñç;[]{}
... but the result is the same.
--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
--
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:
Post a Comment