3 ms·
It gets brought up a lot in vim discussions. It's missing a few major things for me; 1. Tabs (like in vim). I've found only vim and emacs have tabs in a way th
by doix 4y ago
It gets brought up a lot in vim discussions. It's missing a few major things for me;
1. Tabs (like in vim). I've found only vim and emacs have tabs in a way that makes sense to me. Kakoune also has a cool model, where I can use my window manager (or tmux) to recreate tabs.
2. Code folding, I like to fold everything as soon as I open a file to get an "overview" and then slowly unfold as look into the details. Wasn't in Helix last time I checked.
3. Narrowing. Emacs has it built in [0], (neo)vim requires a plugin [1]. Similar to code folding, when I'm working on a large function, I want to pretend it's the entirety of my buffer.
Other than that, I'm not convinced that changing the order of key combinations makes sense. Kakoune did the same, I'm not a fan. I spent too long "thinking" in vim mode.
I think it's great at bringing the "floor" up, it's much easier to get productive in helix. But the ceiling is lower than vim.
[0] https://www.gnu.org/software/emacs/manual/html_node/emacs/Narrowing.html https://www.gnu.org/software/emacs/manual/html_node/emacs/Na...
[1] https://github.com/hoschi/yode-nvim https://github.com/hoschi/yode-nvim
- patrickkidger 4y agoFWIW, Helix does have tabs. (Set `editor.bufferline = True` in `config.toml` in order to have them listed.)
- doix 4y agoThese are not tabs the way vim does tabs. It just shows you which buffers you have opened. Vim tabs allow you to quickly switch between collections of windows. Here's a better explanation written by someone else[0] [0] https://github.com/helix-editor/helix/issues/2295#issuecomment-1273743694 https://github.com/helix-editor/helix/issues/2295#issuecomme...
- llimllib 4y agoIt’s also missing a “format region” key code equivalent to `gq`, which is what ended my attempt to use it
- patrickkidger 4y agoThere is the option to `auto-format` on save, if that helps. (FWIW I use neither, and format via pre-commit hooks instead of in-editor.)
- llimllib 4y agoit doesn't - I use `gq` frequently to format things without the LSP, a concept that helix lacks completely. An example is: I write a long comment string on one line, then `Vgq` breaks it into a comment block according to the line width I have set for the file.
- dmix 4y agoOh I couldn't live without that.