this post was submitted on 23 Sep 2023
5 points (100.0% liked)

Neovim

2453 readers
2 users here now

founded 2 years ago
MODERATORS
 

I thought switching from vim to neovim would be like switching from a nano+ to a VSCode CLI, but it's far from that. There are so many plugins and it's not as easy as declaring which plugins I want, having one dictionary/mapping/attribute set with keybindings, another with global preferences, and done.

Then there's something about language servers. The list on https://github.com/rockerBOO/awesome-neovim is daunting. I thought LSP support was built into nvim. Why are there so many LSP plugins? And what the hell is treesitter and why do I need it?

I copied some dude's config and suddenly Ctrl+P for completion didn't work like in VIM.

There's just so much unexplained jargon and abbreviations, that it feels like I have to read neovim code before even using it (ain't nobody got time for that). Is neovim actually the right tool to use to have an easy CLI IDE? Is there an easier command-line alternative that just lets me go "oh, this language isn't supported, let me open the package manager and install the $language-plugin", with "Goto Definition", debugging with breakpoints, code formatting, refactoring (rename variable/method/class, extract function, etc.) ? Maybe neovim just isn't the right tool for those without years of time.

Edit: Thanks for the suggestions everybody. Finally went with Lunarvim and it's been a joy!

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 years ago

I installed lunarvim(.org) and it gave me all the IDE things I needed + easy installation and configuration

[–] [email protected] 1 points 2 years ago

I've been curious about neovim too, I'm planning on biting off too much with this little walkthrough:

https://vonheikemen.github.io/devlog/tools/build-your-first-lua-config-for-neovim/

[–] [email protected] 0 points 2 years ago (1 children)

Try Helix, it's another modal (terminal) editor, but it comes with what you'd expect from a usable text editor out of the box to work on software projects. No need to fight with a million plugins all designed independently.

[–] [email protected] 0 points 2 years ago (1 children)

Good choice, however the number of supported languages is limited to things with language server or treesitter support. Meaning languages without this, like asciidoc, is not supported and might never be

[–] [email protected] 1 points 2 years ago

both of these things are pretty standard tbh, if a language doesn't even have treesitter grammar, its ecosystem is probably laking