Function modifiers in Emacs conflicts with many hotkeys I have (for example, conflicts with i3wm). By using evil I could use evil to avoid most of conflict hotkeys.
However, I do still need to use those function modifiers to use, for example, M-x
, but it conflicts with other hotkeys. (For Emacs keymap, ESC
can be used. But now ESC
is used by evil, and is no longer a meta substitute.)
What I want to achieve is in normal mode, ;
acts as ctrl
, and '
as alt
, the meta key.
I tried the following but none of them worked:
(define-key evil-normal-state-map (kbd "'") 'event-apply-meta-modifier)
(define-key evil-normal-state-map (kbd "'") 'meta)
Any ideas how to achieve that?