TakeTuesday E01: nvim-cmp

Ғылым және технология

In our first episode of #TakeTuesday, we explore the wonderful completion plugin "nvim-cmp". You'll learn how to configure, customize and even create your own sources for nvim-cmp.
CORRECTION:
Sorry, I set that cmp.setup.buffer ADDs to global setup, but it actually OVERRIDEs global setup. See github.com/hrsh7th/nvim-cmp/i... . Can be see at 12:30
Some important links:
Nvim-cmp: github.com/hrsh7th/nvim-cmp
My Dotfiles: github.com/tjdevries/config_m...
My nvim-cmp setup: github.com/tjdevries/config_m...
Github issues source: github.com/tjdevries/config_m...
Related plugins
- github.com/ms-jpq/coq_nvim
- github.com/neoclide/coc.nvim

Пікірлер: 255

  • @teej_dv
    @teej_dv2 жыл бұрын

    Comment below with other plugins you'd like to see in this series or with any other feedback you have! Thanks for watching :)

  • @noblesavage149

    @noblesavage149

    2 жыл бұрын

    Have you tried Olical/aniseed? Thoughts?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    @@noblesavage149 for some reason, it seems like yt keeps making my comments disappear. So sorry if you see three of them haha. But I have not tried it. I also don't know lisp, so I don't think I would be the right person to explore it.

  • @noblesavage149

    @noblesavage149

    2 жыл бұрын

    @@teej_dv That's ok, my one seems to have disappeared also. I think yt is going down the proverbials at the moment!

  • @jmann277

    @jmann277

    2 жыл бұрын

    nvim-dap pleeeease

  • @danymat

    @danymat

    2 жыл бұрын

    Neogen (it’s an annotation generator using treesitter) And Neorg

  • @BryanBaron55
    @BryanBaron552 жыл бұрын

    Nvim surprised me every single day, I can tell that I'm not an expert, (I'm learning how to setup Nvim for myself yet, btw) but things like this inspire me to go on with this beautiful code editor... Great video and job TJ, you're the best.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    What a really nice message! Thanks! I'm hoping to make a bunch more of these (over time haha, they take quite awhile)

  • @korney4eg
    @korney4eg2 жыл бұрын

    Hey TJ. It's super nice idea for videos to take one plugin/component and become familiar with it.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Glad to hear it! Glad you found it useful!

  • @chrisjames278
    @chrisjames2782 жыл бұрын

    Awesome video. Looking forward to the future TakeTuesdays! Will be looking forward to the luasnip one. Thanks TJ.

  • @WiseGuyFTW
    @WiseGuyFTW2 жыл бұрын

    This is such a useful video, no other video gives an intro to get things started and a background to what different sources do. Thanks!

  • @maniac5411
    @maniac54118 ай бұрын

    THESE VIDEOS ARE AMAZING, PLEASE NEVER STOP THEM! Huge thanks to you Tj, I was so lost in regards to completion in neovim and this cleared up everything for me!

  • @andrewhaeffner6114
    @andrewhaeffner61142 жыл бұрын

    Absolutely amazing video. Entertaining, informative and really well laid out. This content is the bomb! Becoming exposed to the features of nvim by you & the rest of the community is greatly broadening my horizons with respect to developing software. I am greatly appreciative of the effort that you put into this video and your other content. You’re the man, TJ!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Thank you so much :)

  • @AntonKastritskiy
    @AntonKastritskiy2 жыл бұрын

    Awesome format, props for the effort it took to prepare this content. Definitely picked a couple of things that I will be taking to my setup. Look forward seeing the upcoming ones!

  • @diarmaidmac2149
    @diarmaidmac21492 жыл бұрын

    What a great idea TJ! This is the sort of trials and tribulations that us mere mortals go through so it is nice to see it from the eye of an experienced "insider" 😀👍

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Glad to hear it!

  • @tamatotodile
    @tamatotodile2 ай бұрын

    2 years later, this video still helping lost souls like me. Thanks teej :D

  • @teej_dv

    @teej_dv

    2 ай бұрын

    haha that's awesome!

  • @stev0rev0
    @stev0rev02 жыл бұрын

    Thanks so much for this, TJ - I learned a ton! A co-worker convinced me to watch this and make the switch from coc and it definitely worked. So happy with the result. Looking forward to more.

  • @mantassidabras2921
    @mantassidabras29212 жыл бұрын

    That's exactly what I need! How a proficient vim user setups his config and uses real world scenarios. And also kudos for warning about tab selection!

  • @willernst
    @willernst2 жыл бұрын

    Sooo good. I love the well-paced and comprehensive walk-through.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Glad the pacing was helpful. It's hard to find the right pace but not take 4 hours haha

  • @someoneyouveneverheardof
    @someoneyouveneverheardof2 жыл бұрын

    I would say these videos are useful and fun to watch. I would watch them even if I knew most of the stuff, becoz there's always something I don't know. And you guys are the experts and I always enjoy going more deep which you did in this video. I hope videos like these keep coming! :)

  • @EuphoricRaccoon
    @EuphoricRaccoon2 жыл бұрын

    Dude, seriously thank you for this video. I love how you go step by step explaining parts of the basic setup and configuration for the plugin (instead of simply copy this, paste that). My migration from completion-nvim to this one was long overdue and this video was just perfect, worked like a charm! Your "explain one plugin, install, setup, config and features" videos are great!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    So happy to hear :) I've got another one almost done!

  • @devonduty
    @devonduty2 жыл бұрын

    Hey TJ, thanks for this great video, I really like the format! Best regards, David

  • @cafce2567
    @cafce25672 жыл бұрын

    To get the auto import going i had to update the capabilities with `require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities())` and add them to the lsp servers capabilites in it's setup. Everything else works great thank's for the in depth explanation.

  • @nodidog
    @nodidog2 жыл бұрын

    Thanks for your uploads TJ, they're really helpful!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Excellent! So happy to hear that!

  • @phantomwhale
    @phantomwhale2 жыл бұрын

    Just found these - great stuff! My complete wasn't working, turned out to be something unrelated of course, but getting a solid run through of what SHOULD be there and how it hands together really gave me a bunch of confidence with my autocomplete setup; so when it does flake out, I know it's something else I stuffed up in future (hopefully!)

  • @SaMusz73
    @SaMusz738 ай бұрын

    Great tutorial in the 'insides' of neovim. Learned a lot. Please keep up the format as is, not too long and not just out of the help docs

  • @pigozs
    @pigozs Жыл бұрын

    Thank you! I've been using coc for a long time. This video and the one about LSP helped me so much in setting everything up.

  • @gersongallo6892
    @gersongallo68922 жыл бұрын

    I love this format, keep them coming

  • @elyezer
    @elyezer2 жыл бұрын

    What an excellent video and series. Thanks for putting all the effort and coming with this greatly explained video. After this I am considering giving nvim-cmp a try for sure.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    ELYEZER YOU HAVE TO BE ON NVIM CMP OR YOU ARE GETTING BANNED FROM TWITCH KAPPA

  • @imaksimus
    @imaksimus Жыл бұрын

    Decided to watch this spontaneously. Just as good as the first time. Really miss TakeTuesday.

  • @ChillinAtDaClub
    @ChillinAtDaClub2 жыл бұрын

    Really enjoyed this and look forward to more plugin walkthroughs

  • @Amapramaadhy
    @Amapramaadhy2 жыл бұрын

    Seriously face melting stuff. Really enjoyed the format. Chock full of actionable items. Thanks TJ.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Awesome! :) I will try to keep to that standard!

  • @pawebakiewicz6786
    @pawebakiewicz67862 жыл бұрын

    I loved this format TJ. Looking forward for more :D

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Thanks, had a bunch of stuff happen IRL but hope to get back to doing these soon!

  • @Pau1danelli
    @Pau1danelli2 жыл бұрын

    This was amazing thank you. I’d love to see you go through your LSP setup, explaining what you do and why. I’m new to lua, so seeing someone explain what is happening makes it way simpler than code diving dot files.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    A builtin LSP video would probably be also be good for a simple setup of some of the features. Thanks for the idea!

  • @RoryIsNotACabbage
    @RoryIsNotACabbage2 жыл бұрын

    This was really well explained TJ, thanks

  • @hendrykhoza4782
    @hendrykhoza47822 жыл бұрын

    Thank you. waiting for the lua snippets video

  • @chandrappamenasinahal7785
    @chandrappamenasinahal77852 жыл бұрын

    Very very thanks for all the efforts that you guys are putting make such valuable content, from which nvim users like me getting lots of benfits... Thanks you very much.. This is my first comment i am writing in youtube for any of channel.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Wow! That's very kind of you! So glad you enjoyed it!

  • @gavinvales8928
    @gavinvales89282 жыл бұрын

    you nvim guys are absolute magicians

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    haha thanks!

  • @starggoo
    @starggoo2 жыл бұрын

    This is great. Made some changes to my setup based on the vid. Looking forward to more.

  • @GaetanLepage
    @GaetanLepage2 жыл бұрын

    Thank you TJ for sharing this great content !

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    My pleasure!

  • @adityasinha3669
    @adityasinha36692 жыл бұрын

    Amazing format buddy ✌🏽

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Thanks :) I am enjoying it!

  • @ryanseipp6944
    @ryanseipp69442 жыл бұрын

    Would love to see more Take Tuesdays! Learned a lot from this video already. Would also like to see an explanation on how your configurations in `after/plugin/*.lua` gets auto-loaded

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    It's automatic now! Just get on a newer release and they get loaded.

  • @jotarokujo6099
    @jotarokujo60992 жыл бұрын

    Nice explanation. Thank you!

  • @jmann277
    @jmann2772 жыл бұрын

    Fantastic content! Greatly appreciated.

  • @rblab5
    @rblab52 жыл бұрын

    Thank you TJ... great content!

  • @Boroujerdi
    @Boroujerdi2 жыл бұрын

    nvim-dap. Never tried debugging in a text editor. It is the one thing preventing me from completely switching to nvim

  • @barower

    @barower

    2 жыл бұрын

    This

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    @@barower It's on the list :) A few plugins away but I will go over this plugin in the series hopefully

  • @user-fq2ty
    @user-fq2ty2 жыл бұрын

    what I did in mappings was change for and for . So basically I can scroll words without move fingers almost, and to prevent tab use. ( and for Dvorak users)

  • @JeremyBaumont
    @JeremyBaumont2 жыл бұрын

    Great content, great format, love it, I would love the same kind of walk-through into colorbuddy and your color setup.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Ah! Colorbuddy would be fun to do :) I'd have to clean up some code for it I think, but it'd be a good one to revisit. Thanks, I am adding it to the list!

  • @_vikramhegde_
    @_vikramhegde_2 жыл бұрын

    Looking forward to more of these 🙌

  • @lucastperez
    @lucastperez2 жыл бұрын

    The GH Issues thing was very impressive! Really nice video :D

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Excellent!

  • @tyrox9
    @tyrox92 жыл бұрын

    Really good video thanks!

  • @PaulJacobson
    @PaulJacobson2 жыл бұрын

    Thanks for this video. I found this helpful.

  • @lpanebr
    @lpanebr2 жыл бұрын

    I really enjoyed this format and the content is excellent! I'll just ditch my prime's yt subscription and follow you now! 😂😂

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Don't leave Prime. He's the reason I stream!

  • @windsweptflutters
    @windsweptflutters2 жыл бұрын

    Thank you so much for this video!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    So glad you liked it!

  • @kevinlee6416
    @kevinlee64162 жыл бұрын

    Great work👍👍, very helpful thanks

  • @QuentR1994
    @QuentR19942 жыл бұрын

    Really enjoyed that! Thanks 👏

  • @hellmag123
    @hellmag123 Жыл бұрын

    very useful! Thank you

  • @davidsicilia5316
    @davidsicilia53162 жыл бұрын

    Thanks for making these videos

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Happy to do so :) more coming soon!

  • @window.location
    @window.location2 жыл бұрын

    Awesome tutorial Tj

  • @nonefvnfvnjnjnjevjenjvonej3384
    @nonefvnfvnjnjnjevjenjvonej33842 жыл бұрын

    sweet vid tj

  • @avimehenwal
    @avimehenwal2 жыл бұрын

    amazing video, very useful content

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Thanks :)

  • @Oswee
    @Oswee2 жыл бұрын

    Don't even consider to become evil person! :) Keep sharing this superb stuff. Learning so much in every single minute!!! :) :) You have a true talent!

  • @ayoubelmhamdi7920
    @ayoubelmhamdi79202 жыл бұрын

    you are a great teacher،

  • @elsombrero105
    @elsombrero1052 жыл бұрын

    What a great content! Thank you, TJ! Btw, it would be great to see something about the debugging in vim/neovim. Cheers!;)

  • @bramlo411

    @bramlo411

    2 жыл бұрын

    You could check out The Primagen's vid about Vimspector

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I think I will add doing nvim-dap to my list of things to do :) thanks for the suggestion!

  • @farzadmf
    @farzadmf2 жыл бұрын

    First time watching a video from you (I knew about you, but I always thought your videos and explanations would be too advanced for me 😛) But, GREAT video! Very nice and detailed explanation. I subscribed and I hope I see more videos of this format 🙂

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Super glad to hear. I hope to keep making more in the TakeTuesday series.

  • @farzadmf

    @farzadmf

    2 жыл бұрын

    Looking forward to them 🙂

  • @ciacconas4903
    @ciacconas49032 жыл бұрын

    More Take Tuesday episodes pls!!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Part 1 of LuaSnip will hopefully be done soon :)

  • @MrChickenpoulet
    @MrChickenpoulet2 жыл бұрын

    so awesome! thanks!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    You are very welcome!

  • @adityakurdunkar6655
    @adityakurdunkar66552 жыл бұрын

    keep up such good content

  • @mikloscsepella2743
    @mikloscsepella27432 жыл бұрын

    great content. keep 'em coming plz! would love one about LuaSnip. thank you

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I have a video almost done for comment.nvim and then the next videos will be about LuaSnip!

  • @mikloscsepella2743

    @mikloscsepella2743

    2 жыл бұрын

    @@teej_dv thats exciting ty!

  • @saikoushikmacha7379
    @saikoushikmacha73792 жыл бұрын

    great video waiting for the LuaSnip

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Hopefully in the next few weeks :)

  • @dulanjala
    @dulanjala2 жыл бұрын

    so nice.... this is so good...

  • @sebas.random
    @sebas.random2 жыл бұрын

    Hey TJ, you are good at teaching! Thanks a lot. I'm looking forward to the next episodes. How about exploring some wiki plugins? (I saw you are not using vimwiki anymore)

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Yeah, maybe I will try out one or more of the org-mode plugin replacements. Perhaps vimwiki could be interesting as well.

  • @CristianHeredia0
    @CristianHeredia02 жыл бұрын

    Yes, do more of these

  • @qwertyasdf7615
    @qwertyasdf76152 жыл бұрын

    Ooo yeahhh!! Nvim dap!

  • @adityashourya3446
    @adityashourya34462 жыл бұрын

    Ok. This series is cool.

  • @n0kodoko143
    @n0kodoko1432 жыл бұрын

    :h ins-completion - likely just changed the way that I will use completion. I appreciate the heads up. Soon to be former 'tab' user. Seems worth the immediate workflow hit that I'll take getting up to speed.

  • @axeldahlberg7043
    @axeldahlberg70432 жыл бұрын

    The gh_issues source is really cool! One thing I was thinking is if it would be possible to set the "kind" (or what it is called) to be the issue title? Such that you can see them all in the menu, instead of the generic "Text". Great video, already looking forward to the next :)

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Yeah! I didn't explore that part, but I think you can set the kind to be something else and that will change the "Text" thing you see.

  • @vellankiindeevar5530
    @vellankiindeevar55302 жыл бұрын

    this is really great sir . we also want a video on telescope.nvim

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    hehe a bit too self promotion for the first one, but I will keep that in mind :)

  • @Dieterbe
    @Dieterbe2 жыл бұрын

    Very interesting. thanks TJ. I was able to follow along and got the gh_issues plugin working too. It's interesting that it just shows all the numbers, and you still have to iterate them manually to visually inspect them. This makes me wonder if it might make sense to use telescope as a way to drill down to a single completion item, as it allows to search on keywords that are not part of the ultimate result (e.g. the issue body, which we don't want inserted as a completion), and allows fuzzy searching, of course...

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Yeah, you could make a telescope picker that just inserts the selected value and grab all the issues from github as well. It would not be super complicated to do if you already have the gh_issues plugin working!

  • @shadowfax92
    @shadowfax92 Жыл бұрын

    Thanks!

  • @ak2f
    @ak2f2 жыл бұрын

    Thank you, really helpful video. Next maybe nvim-dap, how to setup etc.?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    It's on the list!

  • @greob
    @greob2 жыл бұрын

    Interesting stuff! Thanks for sharing.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    No problem!

  • @yanuar1420
    @yanuar14202 жыл бұрын

    Thank you TJ, I have been struggling to know what nvim-cmp and those following plugins does. and why it still need Ultisnips in my case. This video is a Godsend for me. Very understandable, explain what those plugins and config does. *chef kiss

  • @ericsquires8896
    @ericsquires88962 жыл бұрын

    Thanks for the video! What keys you are entering at 21:07 where the function arguments are added and you can jump between "k", "v" and the end of the function? I can't seem to replicate that behavior.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    After "accept"ing the solution (which is for me), I can move with which is my luasnip "jump-to-next" key.

  • @aklsh22
    @aklsh222 жыл бұрын

    Treesitter next! Btw, I’m curious as to how you get the invisible characters like newlines show up.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Yes, good call for doing tree sitter. I will add that to the list. You are looking for "help listchars"

  • @serge_schumacher
    @serge_schumacher Жыл бұрын

    Hey TJ! Thank you for your work, I've learned a lot by watching videos you're created over these years. I have a question: How do I make nvim-cmp source dap on runtime (on debugging). Let's say I'm using python or query django object. So, I want my autocompletion suggest all dynamic fields containing in this object. nvim-dap has this info, but all autocompletion sources suggest only static data. I've tried rcarriga/cmp-dap with no luck. Before I start writing my completion source, can you give me a tip on a ready-to-use solution? Thanks!

  • @asdfmonstrosity
    @asdfmonstrosity8 ай бұрын

    Nice.

  • @cristianinujazznight3044
    @cristianinujazznight30442 жыл бұрын

    Hi, is there a way to call cmp.complete while typing? Just to have the same effect from coc.nvim

  • @johnysalas
    @johnysalas2 жыл бұрын

    It's almost Tuesday :)

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Haha sorry for the delays. It's actually that we stream the content on tuesdays on stream and then I have to put together a video. That doesn't always get released on tuesday. I am almost done with one and plan on trying to pump out another this week.

  • @FaintArt
    @FaintArt4 ай бұрын

    Hey teej, Can you show you'd configure github copilot with this too?? Also you are really doing a great job! keep it up!!

  • @baka_geddy
    @baka_geddy2 жыл бұрын

    Do Emacs next!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Sorry, I don't review Operating Systems.

  • @nyxkrage

    @nyxkrage

    2 жыл бұрын

    @@teej_dv Review evil-mode then, AS A NEOVIM CORE DEV

  • @lvgsredarmy8776
    @lvgsredarmy87762 жыл бұрын

    "When I type this *octothorp*..." 😆 TJ you're supposed to be a millenial, not a boomer 😛 that's "hashtag" to you haha Regardless, thanks as always TJ. I always learn a ton from your videos! This one in particular was *packed* to the brim with goodies about nvim-cmp, a plugin that I've used for a while but haven't explored the API of very much. I have several ideas now about how to make my Neovim experience even better with nvim-cmp after watching your video 😃. Your work in the Neovim community as always is much appreciated :)

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I will never give up octothorp. IT IS SO FUN TO SAY!!!!!

  • @HarrySolovay
    @HarrySolovay2 жыл бұрын

    OG

  • @AelDiaoul
    @AelDiaoul2 жыл бұрын

    What are your cmp select prev/next mappings? I tried default but it seems to break the cmp window.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Just or . You don't need to prefix with to _move_ between the selections, that is to enter into a certain type of ins-completion mode.

  • @dontwanttousemyrealnametol6765
    @dontwanttousemyrealnametol67652 жыл бұрын

    How would you do something similar to "g:mucomplete#can_complete" (lifepillar/vim-mucomplete) with nvim-cmp?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Hmmm, I'm not familiar with this. I don't know of good analogues. Sorry!

  • @wormholecowboy
    @wormholecowboy Жыл бұрын

    Hey TJ, how can you get cmp to work with npm libraries?

  • @kyp0717
    @kyp07172 жыл бұрын

    If you don't use TAB for completion, what do you use? Please refer me to past video that discuss your prefer method for triggering completion. Thanks.

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I use :help ins-completion for triggering completion when I need to, and let nvim-cmp do the rest in terms of auto-completing. I will try and make a video about it. It's 90% a joke anyway. You should do what makes you like Vim the most :)

  • @guilhermeferreira2068
    @guilhermeferreira20682 жыл бұрын

    Hey i've noticed that when u changed your config you run some tj#save_and_exec and that just reload your config, how can i reload with a keybind for lua config files?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I re-run files by doing `:source %`, but it just checks to make sure it's a valid filetype to do so.

  • @whereistejas
    @whereistejas2 жыл бұрын

    Hi TJ, great video. I'm using nvim-cmp as well and it is great. I use it for Rust. I wonder if there is a way for us to order the code completion suggestions, for example, I want to see variable names before I see method names?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Yeah! You could create a new thing for comparators. See a plugin like this: github.com/lukas-reineke/cmp-under-comparator to show you how you could do that.

  • @luissolanodev
    @luissolanodev2 жыл бұрын

    Hey TJ, great video!! I wanted to know a little more about on why is that you don't use and think is bad to use tab to autocomplete? Thanks!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I'm mostly joking. Chatted a short bit about it here: www.reddit.com/r/neovim/comments/qdj7ir/comment/hhp4c27/?context=3

  • @anoname10
    @anoname102 жыл бұрын

    Pls could you point me where should I look to get similar status line with \-master\- and etc for neovim? Cool vid btw

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I use expressline, but I think there are a lot of new lua statuslines that are easier to use. I think just google "github neovim lua statusline" and pick one that looks good and has stars. I don't have a lot of great opinions on the matter.

  • @majestic2814
    @majestic28142 жыл бұрын

    How would anyone use the default config with = cmp.mapping.confirm and select = true? It makes you unable to insert new lines. Am I missing something obvious about completion or new lines or is noone using the default?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I think it's only applicable when the completion menu is visible (so after it's not visible anymore, enter makes you do a new line)

  • @andresgutgon
    @andresgutgon2 жыл бұрын

    Hi @TJ DeVries great content. I implemented some of your code but I had super TAB and I feel more easy to use it. Would be awesome if you could do a small video explaining with detail why you think using tab is not a good idea. Thanks!

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    That's a good idea, I'll do it sometime :)

  • @nraw_

    @nraw_

    Жыл бұрын

    @@teej_dv Are we there yet? I'd also be interested :)

  • @tobias-edwards
    @tobias-edwards2 жыл бұрын

    Thanks for the video, I'll probs stick with coc for now because it's super easy to setup (imo)

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    Cool, use what works for you!

  • @tobias-edwards

    @tobias-edwards

    2 жыл бұрын

    @@teej_dv 4 months later and I've rewrote my entire config in Lua and am using nvim-cmp! At times I did think about switching back to CoC but managed to get it all working with builtin LSP after a full week of debugging hallelujah

  • @lpanebr
    @lpanebr2 жыл бұрын

    Would it be possible to enabled the gh completion for comments within file to allow referencing issue numbers in Todo comments for example?

  • @teej_dv

    @teej_dv

    2 жыл бұрын

    I think someone actually did that already on github! I It's like cmp-git or something like that.

  • @lpanebr

    @lpanebr

    2 жыл бұрын

    @@teej_dv thanks!!!

  • @muhammadraza7231
    @muhammadraza723110 ай бұрын

    I am finding very difficult to add jump to next or previous placeholder. Help me Brother

Келесі