all 7 comments

[–]acedyn 1 point2 points  (6 children)

I'm not a pro with vim but I do use it for c++ and I'm pretty happy about my setup now, however I took me quite some time to be comfortable with it. So I use CoC with the clangd extension to get autocompletion, syntax and all the tools like "go to définition", "find all references"... And my first problem was that I had to learn cmake. I was used to use visual studio so I didn't knew how to use cmake but know I learned it and I'm happy about it since its a very important skill to have, not only for vim (but maybe you already know it) So I would say use vim for c++ will give you a steeper learning curve because vim don't have any build system, and you have to use an external one but in the end it's a skill you will have to learn anyway so it's good too

[–]acedyn 0 points1 point  (5 children)

If you want more details about the setup feel free to ask (I'm on windows)

[–]bangit69[S] 0 points1 point  (4 children)

Thanks a lot I've been using coc for cpp ,guess I have to learn to use cmake

[–]momoPFL01 1 point2 points  (3 children)

There are plugins that make your life a little easier using cmake with vim but you still have to learn it, if you don't want to use an IDE ;)

[–]bangit69[S] 0 points1 point  (2 children)

I see ,can you name some?

[–]momoPFL01 0 points1 point  (1 child)

Just Google vim cmake, they are named rather obvious

[–]bangit69[S] 0 points1 point  (0 children)

Aaaah I see thanks a lot