-
Just getting my sea legs and trying to parse through documentation and configuration. Maybe someone knows the answers to this and can help my onramping: Many editors support Ctrl + Left/Right to move forward/back words. For example, I'm using it here in Chrome to help author the text I'm writing in this input box. Is there a way to enable this in Helix? Out of the box Ctrl+Left/Right arrow do nothing. Similarly supported, though less so: Shift + Up/Down/Left/Right will begin a selection/highlight (though less so in modal editors). In most cases you can even combine the two: Shift + Ctrl + Left/Right will select back/forward words. It'd be nice to be able to do this in Helix as it means it'll have parity between other applications. If you need a comparison point to see what I'm talking about, try out the commands in VSCode. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
You can create a binding for this in your It's not possible to move without selecting, because that's part of the editing model. Instead, you can have the binding also clear the selection. |
Beta Was this translation helpful? Give feedback.
-
Add this to your config (takes care of the right/left word navigation):
|
Beta Was this translation helpful? Give feedback.
-
does anyone have a full port of this behavior to helix? |
Beta Was this translation helpful? Give feedback.
You can create a binding for this in your
config.toml
: https://docs.helix-editor.com/remapping.htmlIt's not possible to move without selecting, because that's part of the editing model. Instead, you can have the binding also clear the selection.