Tuesday, September 24, 2013

Trouble with alt/meta mappings

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)

iQJ8BAEBCgBmBQJSQX1uXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCRkZEOUI1RUIzNTZBN0QxMDA1QTA4REEx
NDIyNTEwOEMxRDI1NjlGAAoJEBQiUQjB0lafPRYP/3D7TN62Fo2RFP+rBYNshVph
kCjjhli74Q8b1QbCYZWEnWOa9KZX0S8zZ5l/IOOwrgKcS71pU8QSxTNhPbS+36Gd
7in/TO6bz9uVdSfCU80G4QebNnxi1vT80SIeTxfFTRjmktjlnkYarRnYOrDeNHjx
DrCuiB6orG4zZnCltPwy5jAtevx2L7M+9Z5WlWXOyQrdf1FUR1rj8G6zWxB1J00k
RJ9a2GDwkD0eUpG+WPrDpyVHY8+iIquD1jdqDhxPK34C5rWV/y7tPxn/JVqZLsQu
JHEkDKZGXo7l2aplRlHJVpxMCe5YVx7tWFi8sQ6Po7U+gRHt9D4c2i7txgDrTppo
8YE5EzvqSvhIBl/q4bbMeQk0JnaNWXKRucBs+7PwmDpX2SlCN3aM6F5yU6uD6enx
+pCNUf/bglgEs98fcXAvrVakLPpJkV1rhRdOnnvXtC3T1G7Iru75eXt1dT51J3va
nLaP4YJSy24fAhYo7bLHdnjI01nqK81eo9GLz2y9fbyf5Cl+RXyJC2uwxAAYEtnM
gJzvfcaLTPPKkkDqcMtOGr58uTTvxnKIBTh3YMyoGe7zM38ebPIeGQ0jiKVvsN6D
mL/RGb0fXaaWy0pfwx3bAWEEhVFSN8gkjIU2CRe3NfA94J/B27WRJuePGea8/phf
24aHU+43bpoi2mu7C6FC
=Azaw
-----END PGP SIGNATURE-----
Hi,

I use vim-latexsuite in an urxvt terminal with neo keyboard layout.
The terminal is set to _not_ send an ESC-prefix when meta is pressed,
but to set the 8th bit.
vim-latex has a mapping for 'meta-i' to insert the command for a new
item in a list.

When I press 'meta-i' followed by two arbitrary other keys, I get é in
vim now. When I press the keys usually needed to get é, vim does what
'meta-i' is supposed to do.

With the terminal set to send an ESC-prefix, behaviour does not change
much: meta-i moves the cursor to the left and é still inserts a new
item …


This is quite annoying, especially in combination with vim-latexsuite
which relies heavily on mappings using 'meta', and I was unable to get
it to work properly.
Am I missing something important?
Is this a problem in vim? Can it be fixed?

Thanks and best regards

henk

No comments:

Post a Comment