6 ms·
I’m just learning helix, but I believe you can move to the end of the line with gl, and i’m sure there’s an equivalent for the beginning.
by smsx 4y ago
I’m just learning helix, but I believe you can move to the end of the line with gl, and i’m sure there’s an equivalent for the beginning.
- halikular 4y agoIs there an alternative for g0, g$ and gj, gk? It will act on wrapped lines like they're separate.
- Casperin 4y agoI opened helix to check it for you. Pressed `g` and had a little popup tell me that following with `h` = line start, `l` = line end, `s` first non-blank in line (plus ~15 other options). My hx doesn't wrap lines, so didn't check `gj` and `gk`.
- halikular 4y agoIf you don't wrap lines how do you write text?
- Casperin 4y agoGood question, and I don't think my answer will satisfy your needs, but it does mine. The only long form text that I ever write is in markdown. I do miss the `gq` command from vim, but in general I just do a single line break after every dot. Markdown ignores a single line break in the middle of a paragraph, so it works out okay. I even found it almost convenient to edit text like that because it's easy to move lines around. In code documentation (which I do a lot of), I have to manually wrap the lines of course (just like anyone else). That's where I miss `gq` the most. :)
- deleted 4y ago[deleted]