Hacker News new | ask | show | jobs
by e12e 868 days ago
Hm, i wasn't much of a user of visual mode in vim. Seems something like gv is coming to helix:

https://github.com/helix-editor/helix/issues/1596

What does g; do?

Helix has (experimental?) macro record/playback q/Q?

https://docs.helix-editor.com/keymap.html#changes

1 comments

I use visual mode a fair amount for block-wise changes (something that helix does very well).

Unfortunately I reliably labor to get might visual selection correct in helix and then mistype a key and it's gone. Glad to hear it's coming!

`g;` takes the cursor to the location of the most recent change you made (and then the one before that, etc.). <C-o> in helix doesn't ever seem to get it right (unless I remember to <C-s>, which I never do).

Also glad to hear about macro support.

I should take another look at if they are interested in contributors. One of my main interests in helix is that I enjoy rust and don't know C/C++, so I feel like I could maybe "give back." That said, my first issue I raised was not taken very seriously (and is a show-stopper for helix on windows in my case).

Helix claims that "g." should: "Go to last modification in current file"?
Wow, that's been there a while: https://github.com/helix-editor/helix/commit/35c974c9c49f912...

Wonder how I missed that. I'm getting a re-education in helix today -- thank you! I'll go through `hx --tutor` again before I insert any more feet in my mouth.

No worries. I wasn't aware of "g." or the jumplist (space-j) - or that macros had progressed that much - so thank you too!