Seems I had to do the configuration to get things working, but perhaps in the past year or two that has been resolved. I hope it is now as simple as just installing :)
Muito obrigado, ganhou um novo inscrito. Comecei a usar o vim agora e estava à semanas sofrendo tentando resolver esse problema de reconhecer bibliotecas como gtk. Eu uso o vim com plugin ALE e o banco clangd.
I'm here looking at vim after failing to get emacs auto-completion working (maybe I'm stupid, but I found the documentation lacking and confusing, particularly for irony-mode). I just want something that approximates how sublime text works. I'd buy it, or switch to VSCode, but both of these feels like cheating when I'm trying to learn the nitty gritty. So far emacs made me feel stupid. I guess it doesn't help I'm running WSL/debian and not real linux so some stuff might not work as expected. Your video makes vim look a lot easier!
Hi how to control autocomplete? When I press character it’s open many lines I need just 5 lines showing how to configure that Sorry for my bad English I hope u understand what I mean
Hi I'm using windows and followed step by step until the end of 'vimrc for conquer of completion chapter' when it started to autocomplete for you and it's just not working for me, no errors show up, when I try to write some code it doesn't auto complete and when I make an error it doesn't show up for me. Any way you can help? Thanks a lot!
I got the same issue, not sure how come he installed COC only and it already had syntax errror checking at 6:03 (at that time, extension is not installed)
i'm getting this error though [coc.nvim] Server languageserver.ccls failed to start: Error: invalid params of initialize: expected array for /workspaceFolders could help me get past this? This happened after I edit my CocConfig
Hmm, my recommendation is to start from scratch and try to run again. It looks like you're maybe running from neovim instead of plain vim, so their may be something subtle changing here.
Vim is my preferred environment because I can use it everywhere (I often have to ssh into remote locations). Use whatever tool you are most productive in. A pure text-based editor (vim, emacs, nano) is worth trying at some point though to see if you're more productive!
you're a life saver, ty so much, my clangd was complaining way too much with c++20 libs. ty ty
Cheers, glad to help!
Clean and really understandable tutorial. Thank you Mr. Shah, great tutorial !
You are most welcome!
To put it as delicately as I can, this video is just fucking brilliant. Bravo sir 👏🏻👏🏻👏🏻
Cheers!
Check neovim with lua config, also neovim lsp
Hello, why do you configure the json? If on the coc-clangd page it mentions that if you install the extension it is not necessary?
Seems I had to do the configuration to get things working, but perhaps in the past year or two that has been resolved. I hope it is now as simple as just installing :)
This video is really helpful. I finally can code in vim without any problem.
Cheers!
Thanks a lot for this video! Helped me out to get vim up and running for C++ development.
Awesome! You are most welcome!
Muito obrigado, ganhou um novo inscrito. Comecei a usar o vim agora e estava à semanas sofrendo tentando resolver esse problema de reconhecer bibliotecas como gtk. Eu uso o vim com plugin ALE e o banco clangd.
You are most welcome! Welcome to the channel!
16:03 "Bear with me" couldn't possibly have been a coincidence.
😁
Thanks very well done!!!, I managed to do it on Mac using Clangd instead of Ccls, I installed Bear with home-brew and the version is Ok.
Awesome!
how come when i type #include it doesnt autocomplete like yours, but when i do iostream it does?
I'm here looking at vim after failing to get emacs auto-completion working (maybe I'm stupid, but I found the documentation lacking and confusing, particularly for irony-mode). I just want something that approximates how sublime text works. I'd buy it, or switch to VSCode, but both of these feels like cheating when I'm trying to learn the nitty gritty. So far emacs made me feel stupid. I guess it doesn't help I'm running WSL/debian and not real linux so some stuff might not work as expected.
Your video makes vim look a lot easier!
do I always have to use bear to build? what if I wanted use Makefiles
I believe you can use 'bear make' or other build tools alongside.
@@MikeShah hey thanks for the response, but yeah you’re right you can just do bear make
@@JayPatel-ce4jp Cheers!
Thanks a lot for the very useful video!
Cheers!
Hi how to control autocomplete?
When I press character it’s open many lines
I need just 5 lines showing how to configure that
Sorry for my bad English I hope u understand what I mean
Hey man, what about taking a lot at emacs...
I haven't used emacs in a long time unfortunately. Perhaps in the future I can brush up.
@@MikeShah Ye sure, emacs a has a hell lot upgraded and setting up autocomplete is pretty easy in emacs...
@@dibyojyotibhattacherjee897 Is intellisense built in by default with emacs? Vim has autocomplete with ctrl+p and ctrl+n which is decent.
@@MikeShah no the basic plugin is company mode or auto complete which is pretty basic...
@@dibyojyotibhattacherjee897 Understood. I imagine similar steps are needed in emacs to get things up and running then.
Hi I'm using windows and followed step by step until the end of 'vimrc for conquer of completion chapter' when it started to autocomplete for you and it's just not working for me, no errors show up, when I try to write some code it doesn't auto complete and when I make an error it doesn't show up for me.
Any way you can help? Thanks a lot!
I got the same issue, not sure how come he installed COC only and it already had syntax errror checking at 6:03 (at that time, extension is not installed)
i'm getting this error though
[coc.nvim] Server languageserver.ccls failed to start: Error: invalid params of initialize: expected array for /workspaceFolders
could help me get past this? This happened after I edit my CocConfig
Hmm, my recommendation is to start from scratch and try to run again. It looks like you're maybe running from neovim instead of plain vim, so their may be something subtle changing here.
how to select? for me its shows [A]
How can I install 'bear' on windows?
Bear appears to be on Linux github.com/rizsotto/Bear -- you may be able to build it from source using mingw or some equivalent compiler and try it.
Just curious, but why not just use VSCode? Am I a noob for thinking that way?
Vim is my preferred environment because I can use it everywhere (I often have to ssh into remote locations).
Use whatever tool you are most productive in. A pure text-based editor (vim, emacs, nano) is worth trying at some point though to see if you're more productive!
This will same for macos?
Should be a similar process to setup!
Nice video! What windows management tool you have? I like how you move and resize windows. Is it built-in in ubuntu?
Yup, built into Ubuntu! :)
Very nice.
Thank you for the kind words!
As emcaser this video is a poor attempt to make me join the dark side
Sorry to hear! I haven't used emacs in a long time to properly compare & contrast each in regards to intellisense.
@@MikeShah I was just making a joke. Your channel is probably one of the few channels worth watching.
@@Am-pe4iy Thank you for the kind words! More Vim coming :p