Escape as global reset? #5703
-
Apologies if this has been discussed elsewhere, I didn't find a previous thread. I've been using Helix on-and-off for a while and I love it. The mental model of the modal shortcuts out-of-the-box really works for me in a way that feels fresh, with one exception. I've had such a hard time reasoning about resetting my selection vs. clearing multiple cursor. A video I saw on YouTube about Helix recently the host suggested this configuration:
For me, this really aligns with my mental model of the escape key in a modal editor: "get me back to normal!" I'm curious if others have tried this and, if it's common at all, if it should be the default behavior? Perhaps I'm missing out on being able to keep selections and/or cursors while transitioning in/out of normal mode. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think this binding makes sense if you mostly use multiple selections for small well-contained edits. If you're using multiple selections for large edits (a 20+ command string), this makes it really easy to lose your selections especially if you're entering and exiting insert mode often. The current bindings for these are very easy to hit - Also see #5289 |
Beta Was this translation helpful? Give feedback.
I think this binding makes sense if you mostly use multiple selections for small well-contained edits. If you're using multiple selections for large edits (a 20+ command string), this makes it really easy to lose your selections especially if you're entering and exiting insert mode often.
The current bindings for these are very easy to hit -
,
and;
respectively - and I would prefer that these be explicit actions. Using Escape for this also makes it seem like multiple selections are a mode like insert/normal/select mode which I think is potentially confusing.Also see #5289