Remap all Alt-* keymaps #12030
Replies: 5 comments 1 reply
-
I think it would be worthwhile to look into eliminating alt-keys. Moving these into one of more minor modes would help discoverability greatly. |
Beta Was this translation helpful? Give feedback.
-
Almost all Alt keymappings manipulate selections in one way or another Maybe a good way to get started would be to take all these selection-manipulation api and put them under "Tab" key? That key doesnt seem to do anything in normal mode so it could potentially be repurposed the reason I'm suggest Tab and not something like M, is that tab is just 1 keystroke as opposed to M which is 2 keystrokes and a bit of stretching Thoughts? |
Beta Was this translation helpful? Give feedback.
-
The 'm' key currently contains a few "match" oriented commands, but not that many. Another option is to rename it "modify" or "manipulate" and populate it with these. The one current thing under 'm' that would not make much sense is "goto matching bracket". |
Beta Was this translation helpful? Give feedback.
-
I dont specifically have conflicting binds but i find these quite hard to remember, for how useful some are. Like you said about using tab as minor mode seems a nice idea but some of these keybinds are TS specific while others are more generic. Would definitely prefer grouping all the TS binds in its own minor mode as it also brings up the which key menu. For the other, more generic ones, I particularly dont have anything to add. |
Beta Was this translation helpful? Give feedback.
-
I've been running with the super branch and been using Cmd+key (on Mac) instead of Alt+Key for many of these. I really like this option. I also used that technique for various Kakoune-style bindings. Terminal support is not as good as I hoped so far, but it works in Alacritty (presumably also Kitty). Wezterm is a bit buggy. |
Beta Was this translation helpful? Give feedback.
-
Alt keymappings are problematic because many people don't expect programs to create them. Often times alt keys are used for window managers or are specifically controlled by the user
This discussion happened in the past and people seem to not prefer it either: #6853
This discussion can serve as a place to brainstorm where the Alt-* keymappings should be remapped. Below is a table of all the alt keymappings.
I'm currently just remapping all of them under
M
, becauseM
at the moment has no functionality. What are your opinions?Beta Was this translation helpful? Give feedback.
All reactions