Skip to content

"Support keymap command option for match mode" #11534

Discussion options

You must be logged in to vote

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:

[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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tendertree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11531 on August 20, 2024 13:05.