21

I'm thinking of switching from VSC to VIM because VSC is too heavy in term of ressources usage.

Currently, I use the VSC + VIM extension and I'm pretty happy.

But nowadays, I avoid to open some monorepo projects because it takes too much time and I use the Github explorer instead. Also, I use the mouse too much.

So I finally took the decision to give a try to Neovim.

I initially started with SpaceVIM and it was a good experience. But there is too much magic for me. Also, I have the feeling to not learn VIM.

So I setup CoC with VIM-plug + NerdTree. It looks promising.

Do you have any tips for me?

you are viewing a single comment's thread
view the rest of the comments
[-] simonced@lemmy.one 9 points 1 year ago

Hi there, glad to see new users. I would recommend using LSP instead of Coc if your language is supported. A good starting point could be with Lsp-Zero plugin, it can be used with some dependencies and you can customize to your liking. A bit of a steep learning curve maybe, but the result is worth the effort. Also, using Packer for plugin management might be a good alternative, and learning lua in the process. I finally converted my vim config into Lua, I can send a link to my repo if you want to take some inspiration.

[-] zlatko@programming.dev 2 points 1 year ago

I agree, there are several good starting points. But I think it's more important what the OP said about his understanding of it. I think this is a lot more important - WHY do you use plugins, HOW they help you, WHAT can they do. Like, autoimport like vscode does? Autohighlight problems? Check. Check. Autofix linting issues? Check. Find files? Check. Search the project? Check. There's a lot of things that can make your experience way better. Look up some videos. E.g. this one (if you can ignore some twitch memes, I found them mostly fun or tolerable).

Also, when you give up on vim, come back again. It's something that can take many iterations to really "get". Even if things don't work out, try again in a few years.

Also, as an alternative to VSCode, try some native editor. I personally used sublime - for weak machines, it's way better on resources then VSCode and it's electron baggage.

load more comments (3 replies)
this post was submitted on 21 Jul 2023
21 points (100.0% liked)

Neovim

2137 readers
1 users here now

founded 1 year ago
MODERATORS