Closed habamax closed 7 years ago
I have actually tried the following:
works: (global-set-key (kbd "M-i") 'forward-word)
doesn't work (global-set-key (kbd "M-f") 'forward-word)
looks like some meta bindings are kind of special?
If I do ESC а
or ESC и
then it works -- I can move forward word and backward word.
meta key is already in reverse-im-modifiers list, so there's no need to add it.
What does M-x describe-key M-и say? Do you use any non-standard layout (dvorak, colemak etc)?
I use standard qwerty
C-h k M-и
does nothing. Looks like nothing was pressed at all.
Does it work when english layout is active? (I mean M-b)?
And if it does - what about "Alt-и" shortcuts in other apps?
Yes it works in english layout. (M-b)
I am not sure where to check if M-и works in another applications though.
I have binded M-m as expand-region hotkey and it works for M-ь
Found the problem -- it works with Left Alt but doesn't work with the Right Alt which is AltGr.
So I have solved it by remapping on OS level AltGr to Left Alt.
Thx!
You have in description that Meta bindings are translated too. I have tried Meta+а, Meta+и -- they do nothing (I expect them to move word forward, backward)
Are Meta bindings supported?
Thx!
PS I have tried to add (add-to-list 'reverse-im-modifiers 'meta) -- doesn't work too.
PPS Ctrl+Meta+а and Ctrl+Meta+и works...
PPPS My config is (use-package reverse-im :config (add-to-list 'reverse-im-modifiers 'meta) (reverse-im-activate "russian-computer"))