Re:Helix: a post-modern modal text editor
by fourseventy on Tuesday June 01, 2021 @04:25PM
(#27360806)
I'm yet to dive into treesitter. Was it hard to get it installed for nvim. Also, was it hard to get the language plugins installed?
Re:Helix: a post-modern modal text editor
by jamespwilliams on Tuesday June 01, 2021 @04:53PM
(#27361139)
I found it straightforward to install based on the documentation in the READMEs of both:
- https://github.com/nvim-treesitter/nvim-treesitter#quickstar...
- https://github.com/neovim/nvim-lspconfig#install
Just by following the instructions I had a pretty good setup already, but I made a couple of further changes, like setting up autoformatting on save, which was a bit trickier. `vim.lsp.buf.formatting` was useful there, but I had to do a bit of research to figure out how to use it (it wasn't immediately available on the READMEs).
But I’ve recently started using a combination of Neovim + treesitter + LSPs, and have found it incredibly powerful. Extremely responsive automatic compilation that feels instantaneous, good inline error messages, very good and fast syntax highlighting through treesitter... At what it does, I’d go as far as saying as it achieves more than any other IDEs I’ve tried. But of course, what it does is more limited.
At the moment I rarely even touch a mouse. I work primarily in Vim, with DWM as a window manager and a Vim extension in the browser. When I have to work in a different environment and use a mouse again, I find the constant context switching very distracting