Hello,

after some years spent with Emacs (used it due to 'possibly' better Haskell
mode), I'm back with here and my wrists are telling me: "Thank you!".

I want to learn Vim and use it for all my writings which means native
texts as well as (python+qt) programming. One problem is that Vim's
command mode commands are suitable for US keyboard layout, but I use
Croatian one which has the following mapping:

š --> [
Š --> {
đ --> ]
Đ --> }
[ --> altgr+f
] --> altgr+g
{ --> altgr+b
} --> altgr+n
....

I can bear and use e.g. altgr+[ to get square bracket while doing Python
programming, but using CTRL-altgr+g instead of CTRL-] is too much like Emacs
and I do not want to go back there. :-)

I read about 'langmap' option and tried to put the following in my .vimrc:

set langmap=đ]

in order to be able to use: CTRL-đ to simulate CTRL-].

Have I misunderstood langmap feature or do I miss something?

I've found the following tip: 

http://vim.wikia.com/wiki/VimTip1348

but found some other info that langmap should work with utf-8 encoding in
vim>=7.2.x.

Any one can help?


Sincerely,
Gour

-- 
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


Attachment: signature.asc
Description: PGP signature

Reply via email to