Replies: 1 comment
-
This specific command (change a line's content) came up a few times now. I'm not sure about the exact key bind to use (if any), but at this point it might be useful to add as a built-in command. At least right now, I think there's no way to bind it to a single key. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The behaviour of
cc
in vim is very useful, and something less comfortable to replicate in Helix:X_c
. I always justXdO
which avoids having to stretch to the_
. I was trying to come up with a sensible keymap and I landed on:This lets you change, yank, or replace the contents a line without having to chop of the indentation before it and newline after with
_
:https://asciinema.org/a/fWCn2NmI1uWhLXqY0tPqFhTaa
I was wondering if people would like this as a default keymap?
Beta Was this translation helpful? Give feedback.
All reactions