Hacker News new | ask | show | jobs
by e12e 868 days ago
I would recommend the helix editor[1].

You won't get the deep magic of emacs, or the benefit of learning vi key bindings (sadly there's not yet a helix mode for gnu readline) - but you get a great modal editing experience, good defaults and great discoverability.

I moved from vim/neovim a while back - and now I find vi/vim verb-object (d[delete]w[ord]) yanky compared hx visual select/object-verb (wd).

I've been using vim for some 15-20 years prior.

[1] https://helix-editor.com/

2 comments

I'm intentionally trying to move from nvim to helix, but I still sorely miss macros, `gv`, `g;`, piping rg to the quickfix list, and a few others. Slowly getting used to it though, the ultra-fast startup time and no-hassle LSP integration is nice.
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

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!
> now I find vi/vim verb-object (d[delete]w[ord]) yanky compared hx visual select/object-verb (wd).

I often use `viwd` instead of `dw` to create a selection before deleting.