Тёмный

Autocomplete and Snippets in Neovim | FREE COURSE // EP 5 

typecraft
Подписаться 64 тыс.
Просмотров 65 тыс.
50% 1

coming soon: typecraft.dev
X: / typecraft_dev
Repository for this config: github.com/cpow/neovim-for-newbs
List of plugin repos for this episode:
* github.com/hrsh7th/nvim-cmp
* github.com/L3MON4D3/LuaSnip
* github.com/rafamadriz/friendl...
* github.com/hrsh7th/cmp-nvim-lsp
Welcome back to neovim for newbs! the FREE course where we configure neovim from zero to IDE from scratch. In this episode we will cover everything it takes to add autocomplete and snippets to our neovim config! this includes VS-Code like snippets and LSP completions as well. Buckle up everyone, this episode is a wild ride!
chapters:
0:00 - intro
0:58 - recap of our config
1:44 - special surprise
3:05 - lets talk plugins
4:54 - start autocompletion configuration
10:26 - luasnip and our first snippets are working!
11:15 - lsp snippets for our configuration
13:32 - lsp snippets are working!
14:09 - testing our snippets on javascript and ruby projects
15:28 - wrapping up

Наука

Опубликовано:

 

24 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 295   
@mahirabbas3700
@mahirabbas3700 5 месяцев назад
thanks nerd
@arturobracero3450
@arturobracero3450 4 месяца назад
For anyone that is following along and didn't quite get it right the first time: at 12:18 remember to uncomment the line that sets nvim_lsp as a source, or the additional completions by the LSP will not show up. Took me a minute to figure out Great video, thanks!
@beaumcdermott8742
@beaumcdermott8742 4 месяца назад
Thanks! Exactly what I missed. Works now. *tips hat*
@Stilghar
@Stilghar 4 месяца назад
I've been trying to figure it out for the past half hour. Thank you!
@yuu-727
@yuu-727 4 месяца назад
ty
@fempyrean
@fempyrean 4 месяца назад
thanks!
@willthompson6917
@willthompson6917 3 месяца назад
You are such a legend!
@gautomdas1495
@gautomdas1495 5 месяцев назад
this is really one of the best courses on how to setup neovim
@CraftPit
@CraftPit 5 месяцев назад
i think it's the best one
@ryangilchrist3294
@ryangilchrist3294 2 месяца назад
I've been following along/doing a few custom bits myself, and it's completely replaced VSCode at work for me now. Lazygit is absolutely fantastic too!
@ezra3457
@ezra3457 3 месяца назад
The primeagen got me interested in learning vim/nvim. But you got me Hooked. Your voice, your explanations and overall the whole course up to now has been amazing. Thank you for allowing it to be easy to get into vim and setting things up and knowing what's happening.
@typecraft_dev
@typecraft_dev 3 месяца назад
Love that feedback thank you!
@FernandoGonzalez-ir1bx
@FernandoGonzalez-ir1bx 3 месяца назад
By far, this is the best tutorial on neovim setup. For everyone. Simple, slow, very clear. Congratulations and thanks for this very helpful guide!!
@typecraft_dev
@typecraft_dev 3 месяца назад
thank you!
@Divineleo2023
@Divineleo2023 3 месяца назад
Same to you and congrats we are now official neovim begineer cult members
@jagraj7015
@jagraj7015 5 месяцев назад
Really great series man! One small suggestion: Please enable show keystrokes at the bottom of the screen. This will enable vim beginners like me to learn some shortcuts easily. Thanks!
@user-mj1vr6ye4x
@user-mj1vr6ye4x 5 месяцев назад
Hi man! I've been eagerly checking almost every hour to see if a new video has been posted. Your neovim setup tutorials have been incredibly helpful to me. The insights and tips you share are not only informative but have significantly improved my workflow. Just wanted to express my gratitude for these amazing videos. Keep up the great work!
@typecraft_dev
@typecraft_dev 5 месяцев назад
Love hearing that. Thank you!
@hamiltonianthoughts
@hamiltonianthoughts 5 месяцев назад
I really enjoy how you keep to the core awesome functionality of all plugins without over-complicating things. It's a joy to follow your nvim series and it made me rewrite my entire config using Lazy instead of packer.
@user-lj4ov4et2c
@user-lj4ov4et2c 5 месяцев назад
Please keep these going as long as you can. They are so approachable and easy to understand
@dezly-macauley
@dezly-macauley 5 месяцев назад
🤘Thank you so much! I've been watching other tutorials on RU-vid but the LSP, Autocomplete, and snippets section is where things would fall apart. Amazing work!
@PetrenkoAndrii
@PetrenkoAndrii 5 месяцев назад
Watched 5 times, I think. Edited configs couple of times and got it worked. Yes, it's harder, but this just another level of coolness and convenience. Thanks a lot, you explained everything just ultra simple way! Can't wait for next video, but first wish you good health! :)
@domojestic4155
@domojestic4155 5 месяцев назад
Woah, this one came out quick! Thanks for the continued work on the series!
@sewinvicta9274
@sewinvicta9274 5 месяцев назад
I struggled so much and for so long, moving from one video to another, never came to a configuration that I am confident about, until I saw your series. Thank you so much for a wonderful series and a masterful presentation. May you have a great year, and I look forward to your courses. 🙂
@RicardoSilva-wo8sw
@RicardoSilva-wo8sw 5 месяцев назад
I decided to try to configure nvim in the start of the week when I saw your series, it was a lifesaver! Thank so much for this wonderfull walkthroughs!!
@Pemol10
@Pemol10 5 месяцев назад
Thanks to you I finally moved my config to lazy and lsp, you did amazing job with this series
@typecraft_dev
@typecraft_dev 5 месяцев назад
Awesome!!
@Halesnaxlors
@Halesnaxlors 5 месяцев назад
This is a great series! I've been using vim for years, but the last few I've felt my config had turned into bolognese. It feels good to kind of start from a clean slate with much more modern tools. It's great that you explain why we are taking the steps we are taking. Makes it way easier to remember how to do it myself later.
@juan_chan
@juan_chan 5 месяцев назад
Thank you so much, I'm new on vim and neovim and thank to this series now I'm able to configure and add some plugins, two topics that could be awesome so see is git management , specially merge conflicts and a way to sync my configuration to other machine, I'm from vscode and I missing those features, happy new year
@ThatBidsh
@ThatBidsh 5 месяцев назад
this series has been incredibly clear and easy to follow! the fact that there's all these slightly different ways of doing the same things with neovim was super daunting to me when trying to set up my own config so prior to this I was just using a 'good enough' config that I just copied from someone else without understanding what everything does (and frequently hopping back into regular vim or sublimetext or vscode for certain things), but now thanks to you I have a whole nvim config that works exactly how I want it to, completely eliminating the need for me to ever use sublime or vscode again, and that I can confidently modify any time. that's a mindblowing leap from where I was at with this stuff just a few months ago lol
@anderkonzen
@anderkonzen 5 месяцев назад
Thanks for the awesome content! I, just like others here, already went through other tutorials but yours is super easy to understand. Hope you recover well and keep posting!
@johnmike8844
@johnmike8844 5 месяцев назад
I had just gotten to episode 4 and was hoping you'd get the autocomplete out. Thanks a ton typecraft
@NilabhraRoyChowdhury
@NilabhraRoyChowdhury 4 месяца назад
Thanks for taking the time to make the tutorial! I added all the other plugins as dependencies to nvim-cmp. Seems to be working. I also mapped tab and shift-tab to forward and backward scroll of the snippet suggestions to avoid using arrow keys.
@hapaise2924
@hapaise2924 5 месяцев назад
this has been hands down the best few tutorials I have watched and I can't wait for the other videos in these series! one thing I would love to see in a tutorial is git and all that stuff, this is my first time using neovim so pretty cool
@carlosmc2763
@carlosmc2763 2 месяца назад
Finally a deep but easy to understand explanation of completion and snippets! Thank you a lot!
@AmitGupta-po4gf
@AmitGupta-po4gf 3 месяца назад
Highly recommended to anyone who is struggling to get their neovim config right. Couldn't recommend enough for anyone who started their vim journey very recently.
@VickyGYT
@VickyGYT Месяц назад
I followed your videos, you helped me complete my nvim configuration for Golang. I struggled a lot in the past, watched so many videos but your's are the most crystal clear and easy to understand videos. I can see lot of your efforts going into making this series. A big thank you.
@lorenzoallegretti4388
@lorenzoallegretti4388 5 месяцев назад
Straight up the best guide for nvim and it's not even close man, huge kudos
@Dainslief31
@Dainslief31 2 месяца назад
I finally completed it , and i am glad i found your channel on my journey , thanks a lot ! your work is too underrated , you are the best nvim teacher to me
@gambhirsharma
@gambhirsharma 5 месяцев назад
Thanks, @typecraft_dev for the shout-out. 😍
@typecraft_dev
@typecraft_dev 5 месяцев назад
Thank YOU for the sick dashboard :)
@Rockodona
@Rockodona 5 месяцев назад
Production and content quality through the roof🎉🎉🎉🎉🎉
@harrynair1811
@harrynair1811 5 месяцев назад
Darn I’m on vacation but watching the 4&5 episodes… can’t wait to get back to my computer to try the last 2 episodes out … Thanks a bunch for this series
@programerlife8390
@programerlife8390 5 месяцев назад
I spent days trying to configure my neovim environment and you made my life easier with that task. Thanks Bro. you're the best. Greetings from Venezuela and have a happy new year.
@koczkadavid2009
@koczkadavid2009 5 месяцев назад
Got myself into neovim almost a year ago, hacked togethet my first config, although I tried to put in the effort I never understood cnonfiguring it in depth. Now this changed, your tutorial series is the best, incredibly straightforward and clear. Thank you for making it!
@Denis-wf4bl
@Denis-wf4bl 5 месяцев назад
I really like the way you are explaining! This is one of the best neovim courses! I would even pay for that.
@typecraft_dev
@typecraft_dev 5 месяцев назад
Thank you!!
@alcb1310
@alcb1310 5 месяцев назад
Great video, we are missing a DAP configuration, your way of explaining makes me understand better and that way I can modify this plugins to make it my own
@typecraft_dev
@typecraft_dev 5 месяцев назад
I’ll be working on a DAP video soon
@TheCazacuCristian
@TheCazacuCristian 5 месяцев назад
I saw what you added on git 6 hours ago
@spaghettiking653
@spaghettiking653 2 месяца назад
You're goated my guy, you've made this config so exciting!! I am stoked af to get this all running on my laptop right now. I've been trying to figure out how to navigate the slodge of Neovim plugins and it all seemed so complicated, but you really made everything look so easy...! Thanks so much, hope you have a great day :)
@parthokr
@parthokr 2 месяца назад
"We are looking at the same moon together" Man, I just started missing someone. BTW great content. I've been watching your videos from EP 1 and fell in love with Lua.
@yakomisar
@yakomisar 5 месяцев назад
Cool, hopefully the Prime or TJ pay attention to your channel and what you are doing. Your hard work deserve subscribers.❤
@typecraft_dev
@typecraft_dev 5 месяцев назад
Awwww thanks
@volowan5454
@volowan5454 4 месяца назад
Thank you so much for this whole series :) Even though it is a complicated topic you make it so much clearer, you got a new subscriber in me!
@TheRegalboss
@TheRegalboss 5 месяцев назад
Yes! 😃Extremely good job with this series! I wish you a happy new year!
@typecraft_dev
@typecraft_dev 5 месяцев назад
thank you and happy new year!
@KTKettler
@KTKettler 5 месяцев назад
I just finished this series and now I feel like I actually understand how my configuration work and how to extend it more. I've been using Lazyvim for the last few months, but I felt I was just guessing any time I wanted to make a change to it. Thank you!
@typecraft_dev
@typecraft_dev 5 месяцев назад
Glad it was helpful!
@phenixphyre666
@phenixphyre666 5 месяцев назад
This is an excellent and educational series. I love how you teach things. I have to admit that I have been checking the github repo to see what is added next. Keep up the excellent work!!!
@LazinCastro
@LazinCastro 5 месяцев назад
Me too! 😂
@cafe5265
@cafe5265 Месяц назад
this is the best tutorial that I ever see about nvim configurations
@moosa3956
@moosa3956 5 месяцев назад
get well soon.. awesome series, its getting close to a year that I redid my nvim config so maybe its about time i redid mine
@geneliverman6827
@geneliverman6827 5 месяцев назад
Great job and I hope you feel better soon!
@AllanOlsen1970
@AllanOlsen1970 5 месяцев назад
This was really something! keep em comming! I've made a fork and done some addons on my own. I've learned more on this 5 episodes than 2 months stumbling around in nvchad, lazyvim, kickstart,lunarvim and more pluss hundreds of hours with videos. nice explanations and thank you! =)
@typecraft_dev
@typecraft_dev 5 месяцев назад
Awesome I’m glad you got something out of this!
@jizhang2407
@jizhang2407 5 месяцев назад
"It's like we're looking at the same moon together." -- The only poetic neovim tutorial ever.
@typecraft_dev
@typecraft_dev 5 месяцев назад
😂
@faustozampa
@faustozampa 4 месяца назад
This is hands on the best nvim config to follow along as a newbie in the nvim world, the best i ve found on youtube, amazing. I would be SOOOOO grateful if you keep this up as a serie as you change your own config in the future just to update or tweak a couple of plugins here and there as new come out. I will for sure subscribe and follow along dude, thanks.
@vladimirnicolescu1342
@vladimirnicolescu1342 5 месяцев назад
Great tutorials! Looking forward to the debuggers next !
@tomasertola
@tomasertola 3 месяца назад
never felt so involved in learning neovim, your videos are amazing!
@typecraft_dev
@typecraft_dev 3 месяца назад
Thanks!!
@antoinehorguelin3084
@antoinehorguelin3084 2 месяца назад
Thank you for this amazing course. Loved it and I now have a config that I (mostly) understand. Thanks nerd!
@octaviomontt89
@octaviomontt89 4 месяца назад
Hi man
@manee427
@manee427 5 месяцев назад
Merry christmas and wish you healthy year. Thanks for this awsome content
@stevenrodriguez2882
@stevenrodriguez2882 4 месяца назад
Thank you for admitting the completion situation is complicated 🙏, makes me feel more sane 😂
@viniciusmelquiades
@viniciusmelquiades 5 месяцев назад
I've followed your tutorials to configure my neovim. The biggest difference is that I tried to use NixOS, so I had to translate most stuff to Nix. Almost everything worked. Only luasnip completions didn't work, but everything else did. Thanks a lot for the videos!
@tudorliviu6405
@tudorliviu6405 5 месяцев назад
So sorry about COVID, hope you'll feel better soon ! Happy New Year !!
@filippzakharov1378
@filippzakharov1378 5 месяцев назад
Love your videos. It really helped me out not just with nvim, but with Lua in general. For example, I use awesome wm and it's config is in Lua as well. Thanks a lot. Always like in advance on this series. I know what I will do tomorrow morning) Also it's good that you show how you work with documentation for plugins you use. And hooray for debuggers!) Get well!
@flyerhawk
@flyerhawk Месяц назад
Great tutorial! Easy to follow along and got my neovim setup ready to replace pycharm!
@typecraft_dev
@typecraft_dev Месяц назад
Awesome!
@pseabrook
@pseabrook 5 месяцев назад
Stellar content delivery and stellar stache!
@MagnusSmith
@MagnusSmith 5 месяцев назад
You have done a really good job on explaining the completions
@typecraft_dev
@typecraft_dev 5 месяцев назад
Thank you!
@cedric1731
@cedric1731 5 месяцев назад
I can only say, you just earned a new subscriber. Very nice video quality many youtubers with lot of subscribers more can only dream of. Thank you! :D One little "nit-pick": I would love to see the key-showcase in the bottom right to return like in Ep. 3 I think.
@natescode
@natescode 5 месяцев назад
Yes. My weekend is now complete
@ffedchik
@ffedchik 5 месяцев назад
What a great present for the upcoming New Year. Hey, thanks nerd!
@typecraft_dev
@typecraft_dev 5 месяцев назад
Happy new year!
@avinashdubey6503
@avinashdubey6503 5 месяцев назад
awesome playlist and great explaination. I followed the steps and setup everything. Thank you so much sir.
@ianespinosa2685
@ianespinosa2685 5 месяцев назад
thanks for this video I was expecting it a lot. Amazing serie, I hope you get better
@bolcheviking
@bolcheviking 5 месяцев назад
Nerd Dude, you are the best! Happy New Year!
@Nut_cracker-robot
@Nut_cracker-robot 5 месяцев назад
Thanks for the upload! Happy new year🎉
@typecraft_dev
@typecraft_dev 5 месяцев назад
Happy new year!
@zamorablandino
@zamorablandino 5 месяцев назад
Could not agree more. Best course ever, i finally have understand neovim configs...
@zamorablandino
@zamorablandino 5 месяцев назад
Hope you feel better! Happy new year thanks for this!
@domojestic4155
@domojestic4155 5 месяцев назад
Also, I think a good episode to include would be some git integration! I know vim-fugitive is a thing, but it'd be nice to have something that sticks to the UI experienced you've developer over the last few episode 😁
@theredditbandit
@theredditbandit 5 месяцев назад
this is just amazing , I cannot wait for debuggers
@beaumcdermott8742
@beaumcdermott8742 4 месяца назад
Hat tip to you, good sir. Thanks for helping me get this set up and helping me understand it better. Great tutorials. I'm subscribed.
@74Bagas
@74Bagas 5 месяцев назад
now this, makes me revisit my neovim! super!
@littlecurrybread
@littlecurrybread 5 месяцев назад
Happy new year! 🎉ty for this as well
@ChristianSteen-bw7pd
@ChristianSteen-bw7pd 5 месяцев назад
As you got COVID, no wonder the next episode will be on debuggers ;). Wishing you a speedy recovery!
@fantero1649
@fantero1649 5 месяцев назад
I've been learning about web development for some time now and I've been looking for something to escape vscode for a while, thanks nerd. Banger videos by the way
@typecraft_dev
@typecraft_dev 5 месяцев назад
Hell yeah thank you!
@user-ti9mv9hb3g
@user-ti9mv9hb3g 5 месяцев назад
Thanks for tutorial! Bit confused about configuration but believe you are doing it right and it works 😎
@pietraderdetective8953
@pietraderdetective8953 3 месяца назад
I followed along this neovim config from the start coz default LazyVim install always threw up on me (massive memory usage when operating with buffers). Reinstalled LazyVim like 3x, asking question in GH didn't help. But man, this guy saved the day! now I got a working neovim config after got stuck for several days. Thank you very much for the video. You're amazing and your explanation is crystal clear!
@typecraft_dev
@typecraft_dev 3 месяца назад
Love seeing this. Thanks!
@Naz-pk4ll
@Naz-pk4ll 5 месяцев назад
get well! these are amazing, great work!
@typecraft_dev
@typecraft_dev 5 месяцев назад
Thank you so much!
@rafaeldelazerigruenevald64
@rafaeldelazerigruenevald64 5 месяцев назад
What a great video! Just one thing to point out since you dont do any modifications in LuaSnip, cmp_luasnip, friendly-snippets and cmp-nvim-lsp you can just put them as dependencies of nvim-cmp and it will work just as well.
@typecraft_dev
@typecraft_dev 5 месяцев назад
fantastic!
@harrynair1811
@harrynair1811 5 месяцев назад
I was about to ask this question 😅 I’ll try this route thanks !
@lafuenteposible
@lafuenteposible 5 месяцев назад
please more episodes, this is awesome!
@user-jh7rn6kd3q
@user-jh7rn6kd3q 5 месяцев назад
Amazing !! Keep it coming
@iustin4172
@iustin4172 5 месяцев назад
Love your vids!
@luismedina4904
@luismedina4904 3 месяца назад
Awesome videos, first time configuring and using nvim
@typecraft_dev
@typecraft_dev 3 месяца назад
Thank you and welcome to the party!
@edgardoarriagada9467
@edgardoarriagada9467 5 месяцев назад
Man!, you saved me from installing a nvim distro so solve all my config mess (I didn't really wanted to) blessing from Chile
@oilcake4392
@oilcake4392 5 месяцев назад
man you are freaking awesome, wish you good health! Thanks a lot, really
@maxcharacterlimitreache-
@maxcharacterlimitreache- 4 месяца назад
If your explanation was to be even 1% below perfect, i wouldn't have understood a thing from this mess. Instant sub, you're great!
@TheGogiu
@TheGogiu 3 месяца назад
Great Job Nerd... Here a great fan of yours
@youdontknowme2508
@youdontknowme2508 5 месяцев назад
Waiting for the debugger epsiode. And happy new year btw
@thejespr
@thejespr 5 месяцев назад
This series is so good :) Can really tell you've invested quite a bit of time into it, been enjoying it so far - and need to try it with neovim :) A kind of unrelated question, which keyboard are you using? Sounds so pleasant :)
@typecraft_dev
@typecraft_dev 5 месяцев назад
It’s a happy hacking keyboard (series s)
@thejespr
@thejespr 5 месяцев назад
@@typecraft_dev appreciate it :)
@ralmarkalmar9083
@ralmarkalmar9083 5 месяцев назад
dude your actually just the best
@scottb4029
@scottb4029 5 месяцев назад
Thank you for your content , this is the best Neovim course I have found on RU-vid. BTW my son came down with COVID on Christmas Eve. There must be a little outbreak this Holiday season.
@typecraft_dev
@typecraft_dev 5 месяцев назад
Yeah there’s absolutely a lot going around. Hope your son doesn’t get too sick and recovers quickly!!
@younglion0451
@younglion0451 5 месяцев назад
You're fantastic, thank you so much!!
@dimitrisdrosos245
@dimitrisdrosos245 5 месяцев назад
Thanks again for the great tutorial.
@typecraft_dev
@typecraft_dev 5 месяцев назад
My pleasure!
@jariocmjunior
@jariocmjunior Месяц назад
Great video, thanks!
@mobugs
@mobugs 2 месяца назад
this helped me clean up my config, ty
@manee427
@manee427 5 месяцев назад
Amazing video
@rickyisajedi
@rickyisajedi 5 месяцев назад
Get well soon!!
@macx4044
@macx4044 5 месяцев назад
I love this!
@scott8587
@scott8587 5 месяцев назад
amazing !!
@ky3ow
@ky3ow 4 месяца назад
9:12 "cmp_luasnip" and things that have cmp in them apart from main plugin just add sources for completion so they show up in your menu. The "nvim_cmp" then takes all registered completions, filters them as you type, then display them. Luasnip is responsible of expanding your snippet into full code, and setting marks to which you can jump(and other advanced stuff). Additionally, when you doing cmp completion and press your confirm key, if the source of completion was from snippet engine, it calls expand function that you relegate to luasnip.lsp_expand function
Далее
Tmux will SKYROCKET your productivity - here’s how
10:02
I Love Neovim But I WONT Use It | Prime Reacts
23:22
Просмотров 108 тыс.
Why I Switched From NEOVIM To VSCODE
13:45
Просмотров 20 тыс.
I'm never using Git the same way again
11:19
Просмотров 82 тыс.
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
My Forever Dev Workflow
16:02
Просмотров 68 тыс.
What the hell is Zellij?
8:00
Просмотров 59 тыс.
7 Amazing CLI Tools You Need To Try
18:10
Просмотров 238 тыс.
How To Unlock Your iphone With Your Voice
0:34
Просмотров 26 млн