Hi all :)

    I'm having a problem that I know how to solve, but I wonder if I'm
doing the right thing...

    Some weeks ago I asked a couple of things about encodings on the
list, and based on the answers, I finally did a proper setup to edit
UTF-8 files from time to time in my latin1 terminal, while at the same
time treating new ASCII files as latin1 and not utf-8. This works OK.

    But now my problem is the following. I've chosen "ç" as my
mapleader. This is due its position in my keyboard. BUT, its code in
latin1 is 0xe7 and, in utf8 it's 0xc3+0xa7.

    This means (and this is my problem) that if I set "setlocal
enc=utf8", I'm no longer able to use it as my mapleader as-is. I still
generate "ç" when I press it, of course, and vim translates it onto
something my terminal understands as "ç". I assumed that it was doing
the same for mappings, but it is not.

    Am I doing anything wrong? Should I set another thing so even with
"enc=utf8" my high-bit-set-mapleader still works? Should I set
"mapleader" to the utf8 value?

    Thanks a lot in advance :)

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

Reply via email to