"Support keymap command option for match mode" #11534
Answered
by
the-mikedavis
tendertree
asked this question in
Troubleshooting
-
Currently, I'm using Colemak, where the keys 'mnei' are used in place of 'hijk' in the standard QWERTY layout. Other key mappings work out of the box, except for 'm', which enters the match mode |
Beta Was this translation helpful? Give feedback.
Answered by
the-mikedavis
Aug 20, 2024
Replies: 1 comment
-
[keys.normal]
m = "move_char_left"
[keys.normal.h]
m = "match_brackets"
s = "surround_add"
r = "surround_replace"
d = "surround_delete"
a = "select_textobject_around"
i = "select_textobject_inner" Though I thought Colemak left H and M in the same positions as QWERTY, so the HJKI equivalents would be HNEI |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tendertree
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
m
is a minor mode meaning that it has many bindings underneath it. In order to move it you need to remap the commands under it, for example swapping M and H:Though I thought Colemak left H and M in the same positions as QWERTY, so the HJKI equivalents would be HNEI