VIM C++ Setup With Coc nvim

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • In this VIM tutorial I look at setting up VIM for C++ with the Conqueror of Completion plugin, the coc-clangd extension using NodeJS. I also set up vim with gruvbox, auto pairs, airline, airline themes, and nerdtree.
    The blog post on this topic:
    unkertmedia.co...
    VIM logo attribution:
    User:D0ktorz, GPL www.gnu.org/lic..., via Wikimedia Commons
    VIM Logo File URL:
    upload.wikimed...
    VIM Logo Page URL:
    commons.wikime...
    C++ Logo attribution:
    Jeremy Kratz, Public domain, via Wikimedia Commons
    C++ Logo File URL:
    upload.wikimed...
    C++ Logo Page URL:
    commons.wikime...
  • НаукаНаука

Комментарии • 66

  • @UnhingedNW
    @UnhingedNW 2 года назад +3

    stoked about this because i love vim and im currently learning C++ and C. Couldn't get CoC to work right when i messed around with the first time.

  • @hihiki-tb5ne
    @hihiki-tb5ne 4 месяца назад +3

    thank you, man! you are the only person who helped me

  • @zahidbond
    @zahidbond Год назад +3

    This one iss da GOAT!!...the GOAT!

  • @Z1g0l
    @Z1g0l Год назад +1

    Thx Tim, I'm learning C++ and I will switch to nvim in the future.

  • @CosmJJ
    @CosmJJ 5 месяцев назад +1

    the best video on this topic! Thank you very much!

  • @Zwen314
    @Zwen314 Год назад +1

    Thank you, and also thanks to those who create amazing tools❤

  • @deku.1206
    @deku.1206 2 года назад +1

    Hey Timothy ,Thank you so much for this video . It really helped alot .
    Can you Please make a video about how to set up C++ with ccls?

  • @jasonhousewright9101
    @jasonhousewright9101 2 года назад +2

    Thanks for your work, Mr. Unkert! Have you talked about your hardware setup (what chromebook you are using, etc?) I'm learning a lot from your videos and look forward to more! Thanks, again!

    • @TimothyUnkert
      @TimothyUnkert  2 года назад

      I haven't gone into real depth about my chromebook setup but may in the future.

  • @RealSamiul
    @RealSamiul Месяц назад

    Thanks for this amazing video.

  • @matualeman5142
    @matualeman5142 2 года назад +2

    Thanks! i needed this

  • @dennismitchell8507
    @dennismitchell8507 2 года назад +1

    Good job Tim 😊

  • @dustinfox5211
    @dustinfox5211 2 года назад +1

    Great video, thanks for sharing!

  • @br3nd4nt
    @br3nd4nt Год назад +1

    Very good tutorial, thank you!!!

  • @SB-rf2ye
    @SB-rf2ye 2 года назад +1

    Thanks mate! Also first time being the first like and comment.

  • @scotfsh5014
    @scotfsh5014 2 года назад +1

    I love your video, really helpful and heart-warming, thank you so much^^

  • @JoeGardener-w1l
    @JoeGardener-w1l 2 месяца назад

    Do you build and run c++ code within vim, if so how? This video was very helpful, thank you for making it!

  • @enriquegomez2581
    @enriquegomez2581 Год назад

    Have you thought about creating a video on how to make coc work for nvim? It would be really useful!!

  • @ankitkumarsingh9815
    @ankitkumarsingh9815 Год назад +1

    Sir, you make vim look easy :)

  • @velessn
    @velessn 2 года назад +1

    Thanks for your work

  • @Xenthera
    @Xenthera Год назад +1

    Not sure if this was on purpose, but your website blog blocks all copying and right clicking. Makes it hard to copy stuff into my vimrc file...

  • @anon-tc6ig
    @anon-tc6ig Год назад +1

    Thanks brother

  • @joshk2580
    @joshk2580 2 года назад +1

    Thanks dude.

  • @natanloterio
    @natanloterio 2 года назад +1

    Thanks a lot. You saved me

  • @chriscsld7278
    @chriscsld7278 2 года назад +1

    Fabulous

  • @anandabiswas8876
    @anandabiswas8876 Год назад

    Loved it !

  • @islamux
    @islamux Год назад +1

    Verty very nice man ^_^

  • @roshandsouza2329
    @roshandsouza2329 2 года назад

    Great it helped! Thanks

  • @Meige24
    @Meige24 Год назад

    thank you!

  • @Yunes948
    @Yunes948 2 года назад

    very nice video can you make one with Lsp? its faster a bit

  • @anup8672
    @anup8672 2 года назад +1

    how to fix clangd diagnosing "clang pp_file_not_found error" for header files? even though header files are included.

  • @jazzyBSD
    @jazzyBSD 9 месяцев назад +1

    thank u very much!!!!
    btw, can u tell me the name of the font?

    • @TimothyUnkert
      @TimothyUnkert  9 месяцев назад

      I don't remember which font I filmed that with, but I like
      Hermit
      Source Code Pro
      Fira code
      Roboto Mono
      Jetbrains Mono

    • @jazzyBSD
      @jazzyBSD 8 месяцев назад

      @@TimothyUnkert thanks!

  • @oleksasirotinin1532
    @oleksasirotinin1532 Год назад

    Could you please a bit explain the "curl |sudo -E bash -" combination? seems it's not a common usage or I've done a bad googling.Thank you

  • @shadirvan7918
    @shadirvan7918 2 года назад

    I don't know how to auto complete the first suggestion. i have to go through all the suggestion until the end to get back to the first. How can i fix this

  • @tafsirahmed4067
    @tafsirahmed4067 2 года назад

    Thanks a lot but need Lsp & ccls setup

  • @arinroday302
    @arinroday302 Год назад

    is there a way to get the error messages without having to save every time ?
    like every time I hit escape I want it to save, and then run the checks

  • @brijeshsundi6190
    @brijeshsundi6190 Год назад

    can we use g++ instead of clang

  • @programming3043
    @programming3043 2 года назад

    What font are you using, it looks pretty nice

    • @TimothyUnkert
      @TimothyUnkert  2 года назад

      Probably source code pro, i like to mix it up.

  • @abrarmasumabir3809
    @abrarmasumabir3809 Год назад

    What font are you using?

  • @vishalrao7010
    @vishalrao7010 Год назад

    how can I do same for cuda and python:?

  • @qrockz007
    @qrockz007 Год назад

    What does "bash -" do?

  • @LostSideDead1
    @LostSideDead1 Год назад

    Autocomplete is not working

  • @Awwe12675
    @Awwe12675 2 года назад

    Thank u I have question
    In downloading plug coc only
    But how can I change colors pink without more plug ?

  • @EmreCan-wf5jn
    @EmreCan-wf5jn Год назад

    Can I use VIM on windows 7 ? I have poor notebook. It's has 3 gb ram and core 2 duo. I want to follow my udemy C++ courses. By the way, should i install linux? I don't know how to use linux. But if i can't use vim on the windows very well, I must learn linux :).
    Sorry for my bad english.

    • @TimothyUnkert
      @TimothyUnkert  Год назад

      You can use vim on windows. It is very light on Ram.

  • @ziphy_6471
    @ziphy_6471 4 месяца назад

    Can anyone help me I got stuck at 6:47 and I can't install coc.nvim with yarn since i'm on windows

  • @glidersuzuki5572
    @glidersuzuki5572 2 года назад

    Have you tried vim-lsp?

  • @sunnyheheheh9401
    @sunnyheheheh9401 2 года назад

    My clangd is showing errors in iostream , cout and endl whereas the code runs perfectly on vscode without errors can you pls tell me what's wrong

    • @TimothyUnkert
      @TimothyUnkert  2 года назад

      Did you include, "using namespace std;"?

    • @TimothyUnkert
      @TimothyUnkert  2 года назад

      I think VS Code might automatically add the namespace line. If you don't have it you have to have "std::cout

  • @johnd942
    @johnd942 24 дня назад

    Extremely verbose!

  • @kqvanity
    @kqvanity 2 года назад

    This video should have been more centered around other cpp helping tools, plugins and with a bit of peculiar 0.0000001 productivity boosters, rather than absolute ground up vim setup.

  • @punjabistage
    @punjabistage 2 года назад

    You lost me at node js

  • @toiletman100
    @toiletman100 2 года назад

    nice

  • @marq4375
    @marq4375 Год назад +1

    Very helpful video, thank you!