Thanks for the video. Usually vim setup videos are outdated or just plain bad but this one actually helped. I was only using clangd before but now with ccls it works like charm.
Seriously amazing! When you are familiar with VIM and then somehow you were forced to use other text editors, it feels like driving with your legs while your hands are tied behind your back.
great channel, can you make a video about the road map you took to reach this level. I have landed over one of your videos about neovim configuration and there is a ton of new stuff for me to catch on but I couldn't figure out where to start. THANK YOU in advance :)
help! my ccls cannot recognize the headers files like iostream in cpp. I've tried to include .ccls in the root project but it did't work. Are there any ways to fix this?
Hey great video! That's just what I needed! I was wondering what setup (I mean the status line below) you have for Neovim or your terminal... I have seen it many times in youtube but don't actually know how to adapt it (maybe it's the setup of manjaro?). Thanks!
SHIFT + k also shows comments above the functions in your case. In my case it doesn't. Which plugin you use for this? I was testing it with C and not C++.
Installed ccls with pacman but it just throws an error when opening a c++ file: ccls failed to start invalid params of intialize: expected array for Workspacefolders. Any ideas?
[coc.nvim] Server languageserver.ccls failed to start: Error: invalid params of initialize: expected array for /workspaceFolders Unfortunately this error keeps occurring. I'm using Ubuntu have I not built the ccls correctly?
Cool stuff. When I do K (show documentation) I get a very big float window. E.g. if I do it on a function it will have "### function function_name --- return value --- function signature". You only get the single line showing the signature. Did you configure something in coc to get this simpler description? I am using clangd btw.
@@kandodev me too .ccls not working for me i use nvim please help i got errer ([coc.nvim] build/index.js not found, please compile coc.nvim by: npm run bulid) what was that !?
When i copy paste a sample case i don't see the spaces and the texts don't get pasted in a new line For example if i copy : 1 1111 111111 and paste this on neovim get 11111111111 as the pasted text PLZ HELLPP (Basically I cant past properly in the terminal )
@@kandodev It is still not working :( plz add the required modification according to you in my init.vim file github.com/itsameaditya/my_vimrc_config YOU can see i have "set pastetoggle=" in my init.vim but still the input comes in one single line The problem is that it is not working in the terminal mode and hence i cannot copy paste test cases in the desired indentation
@@kandodev Actually all i had to do was update the pluggins. Apparently i was using the old version of coc. Plug Update fixed the problem . But coc-rename seems to work only on opened buffers. Say u have 100 files that need to be modified, it is impractical to open all the files. Still really skeptical whether I should go all in coc. I think your tutorials is really helpful. Keep up the good work.
if you want to compile or run c/c++ program (indeed any programming language) in your vim/neovim then use [ github.com/shaeinst/lazy-builder ] i made this simple/dummy script to make my work easy.
That's a nice setup but doesn't scale well for more complicated programs. I have a setup around CMake for my C++ build/run process that I'll be sharing in future videos. Thanks for the comment!
Great video. It's surprisingly hard to find good vim configs for c/c++
Thank you man, just switched to linux and it's been hard, but tutorials like this really help.
Thanks for the video. Usually vim setup videos are outdated or just plain bad but this one actually helped. I was only using clangd before but now with ccls it works like charm.
Seriously amazing! When you are familiar with VIM and then somehow you were forced to use other text editors, it feels like driving with your legs while your hands are tied behind your back.
Thanks for the great video! I recommend changing the renaming from rn to re, as it makes the renaming much faster
Thank you!!, I had some problems doing it myself 'til I found your video.
GREAT GREAT VIDEO, Like others have said, it's hard to find a video for coc setup like this!
Thanks. Took a bit of troubleshooting to get it work on my setup but it works now.
great channel, can you make a video about the road map you took to reach this level. I have landed over one of your videos about neovim configuration and there is a ton of new stuff for me to catch on but I couldn't figure out where to start. THANK YOU in advance :)
Thanks you. Your video is amazing, concise and right to the point
The best video helped to solve all of my problems
6:33 hi! how did you configure your shell to show prediction of files?
Great job, no bla bla, crisp!, thanks, keep it up, subscribed
help! my ccls cannot recognize the headers files like iostream in cpp. I've tried to include .ccls in the root project but it did't work. Are there any ways to fix this?
I almost step in youcompleteme , step out now for CoC ...thank you Sir!
Thank you so much for the tutorial 😃
Thanks so much!! This helpmed me a lot
thank for the c++ vedio series and i also have a question about coc ccls...why it keep indexing after i creat .ccls or compile_commands.json...
Hey great video! That's just what I needed! I was wondering what setup (I mean the status line below) you have for Neovim or your terminal... I have seen it many times in youtube but don't actually know how to adapt it (maybe it's the setup of manjaro?).
Thanks!
SHIFT + k also shows comments above the functions in your case. In my case it doesn't. Which plugin you use for this? I was testing it with C and not C++.
This is the only situation in which I will ever say I like coc.
Installed ccls with pacman but it just throws an error when opening a c++ file: ccls failed to start invalid params of intialize: expected array for Workspacefolders. Any ideas?
don't create the cpp file in the home folder, instead use something like ~/code/test.cpp
Can you share your vim config ?Thanks
If anyone is getting a "[coc.nvim] node is not executable" error you need to install node.js
you can install node.js to prevent the warning. Yes its an warning not an error, since coc was implemented for node.js as default
good video. how to rename symbols in all files not just on buffer?
Any ideas on how to get this working on windows?
[coc.nvim] Server languageserver.ccls failed to start: Error: invalid params of
initialize: expected array for /workspaceFolders
Unfortunately this error keeps occurring. I'm using Ubuntu have I not built the ccls correctly?
Did you fix it?
I like your vi font. What's it called?
thanks so much for the video
❤️❤️❤️❤️❤️
That sounds like a blue mechanical switch there
Yup. Low profile blues. I can do some noise reduction if they're too distracting?
@@kandodev Nah they are satisfying just keep you mic on near your mouth on the top
Cool stuff. When I do K (show documentation) I get a very big float window. E.g. if I do it on a function it will have "### function function_name
--- return value --- function signature". You only get the single line showing the signature. Did you configure something in coc to get this simpler description? I am using clangd btw.
Nope, that's the default behavior for the neovim nightly version I'm using. Maybe that's the difference?
is there a way to type the .ccls code so that i never have to type it again? i keep having to put it in each file i make
Put it in the root folder of your git repo. It should get picked up automatically
There is a linux terminal emulator named "Debian" on Microsoft Store, can I use that to setup this?
i used ubuntu wsl and it worked for me
Thanks for sharing this video.
I'm very new and i have no idea how is should learn neo vim and i'm using windows
.ccls not working for me
I am still getting error in other files
Hi, check out part 2 of this video for how to do multiple files.
@@kandodev me too .ccls not working for me i use nvim please help i got errer ([coc.nvim] build/index.js not found, please compile coc.nvim by: npm run bulid) what was that !?
I like having these features available in my favorite editor.
please make more videos like this
When i copy paste a sample case i don't see the spaces and the texts don't get pasted in a new line
For example if i copy : 1
1111
111111
and paste this on neovim get 11111111111 as the pasted text
PLZ HELLPP (Basically I cant past properly in the terminal )
Try :set paste in vim to enter paste mode in vim before pasting. That should preserve white spaces properly
@@kandodev It is still not working :( plz add the required modification according to you in my init.vim file
github.com/itsameaditya/my_vimrc_config
YOU can see i have "set pastetoggle=" in my init.vim but still the input comes in one single line
The problem is that it is not working in the terminal mode and hence i cannot copy paste test cases in the desired indentation
Thanks for the setup.
It might be the additional use of the floaterm plugin. Try that out and install :CocInstall coc-floaterm and let me know if that works.
@@kandodev Actually all i had to do was update the pluggins. Apparently i was using the old version of coc. Plug Update fixed the problem . But coc-rename seems to work only on opened buffers. Say u have 100 files that need to be modified, it is impractical to open all the files. Still really skeptical whether I should go all in coc. I think your tutorials is really helpful. Keep up the good work.
if you want to compile or run c/c++ program (indeed any programming language) in your vim/neovim
then use [ github.com/shaeinst/lazy-builder ]
i made this simple/dummy script to make my work easy.
That's a nice setup but doesn't scale well for more complicated programs. I have a setup around CMake for my C++ build/run process that I'll be sharing in future videos. Thanks for the comment!
Nice job I love it
Thank you !!
Brilliant
An unfortunate name, but alas, nice coc!
Thank you