2:12 VERY IMPORTANT: Add blink.cmp as a dependency 'cause it can happen that it hasn't been loaded else. (TJ did it, but didn't mention it)
@youngreda441023 сағат бұрын
custom snippets next would be cool love the series!
@ricardorien19 сағат бұрын
YEEEEEEAH
@dadinhoschannel400319 сағат бұрын
YEEEEAH
@teej_dv11 сағат бұрын
ok ok i cover custom snippets at some point in the series haha
@Djzaamir7 сағат бұрын
I think with every passing day TJ and prime are getting me one step closer to being a full time neovim user.
@teej_dv4 сағат бұрын
ONE OF US! ONE OF US! ONE OF US!
@paulthexton748321 сағат бұрын
I've been quite happy with nvim-cmp so far, but this looks excellent, I especially like the signature help sticking around while you're still filling out parameters! Looks like I'm tweaking my nvim config this evening!
@PasterNoster9416 сағат бұрын
This
@yukio940014 сағат бұрын
yeah i didn't think i would need it but ... yeah seems like its a bit better than nvim-cmp
@teej_dv11 сағат бұрын
ya, i'm going to try it out for a month or so and then do a proper longer video for it I think
@IndiMentals21 сағат бұрын
Thanks!
@teej_dv20 сағат бұрын
Whoa!! Thanks!!
@felipetrost21 сағат бұрын
Even though I've been using nvim for a while now, and I have gone through configuring most of the things you talk about myself, this series is super fun, and I'm learning stuff I didn't know. props for the idea and the execution
@teej_dv11 сағат бұрын
thanks :) trying to make it both fun and informative, so glad you feel that way!
@mohansella23 сағат бұрын
Really helpful. I use nvim-cmp so far but its configuration was the hardest that i experienced in nvim plugins :(
@FilipeAguiarCarvalho20 сағат бұрын
I know, right? I had it working for everything except vue files. It was broken for days until i got the time to fix it. I'll try blink to see if it's worth.
@teej_dv11 сағат бұрын
ya, i love nvim-cmp but I m going to give blink a try for a month or two and then give my thoughts
@ForeverZer08 сағат бұрын
I recently made the switch to blink, and would definitely recommend checking it out if you are using nvim-cmp. I am typically guilty of of just sticking with what I already know, but spent some recently trying out some popular alternatives to plugins I use, and ended up making some major changes from plugins I never imagined I could do without, blink being on new additions. Not to steal any thunder from TJ, but I even replaced Telescope with fzf-lua, which totally surprised me, as Telescope has been on of those plugins I pretty much can't live without, it is quintessential to the neovim experience. They are functionally very similar to each other, but fzf-lua has a few extra bells-and-whistles, and feels more responsive.
@davidnaneishvili2 сағат бұрын
Thanks! And great sweater by the way!
@friendliness133723 сағат бұрын
The other day I said "I'll need to look into blink soon", started looking into it today and then this video goes live 😂 Thanks again my man!😊
@teej_dv11 сағат бұрын
haha np, i'll do a bigger one after i try the plugin for awhile
@Kaikaci078 сағат бұрын
I switched to blink two days ago and it's wonderful
@whenrow363017 сағат бұрын
I love how Teej is doing the videos faster than the previous one. I'm very hyped to be on 25th :D
@teej_dv11 сағат бұрын
haha i'll try to keep up the fun!
@nemethda16 сағат бұрын
"if you want you can do these other ones, but you're wrong.. that's okay" 🤣 but WOW the signature help is a game changer thanks so much Teej, I love this series!!
@teej_dv11 сағат бұрын
just tryin to have a little fun and make some laughs in the vids ;)
@priyanshukatuwal22 сағат бұрын
This series would've helped me so much an year ago
@teej_dv11 сағат бұрын
haha sorry, i didn't invent time travel but i can at least make nvim videos LOL
@priyanshukatuwal20 минут бұрын
@@teej_dv Hehe no biggies, I still keep learning something new from this series!
@CNich9017 сағат бұрын
Thank God I started my neovim journey after blink.cmp was already a thing. I bypassed all the pain people talk about when configuring nvim-cmp.
@teej_dv11 сағат бұрын
i think nvim-cmp is not too bad, but it does take a little more reading haha
@majam1n20 сағат бұрын
What is this sorcery. Teej on fire 🔥
@teej_dv11 сағат бұрын
thank you thank you :)
@Kane012322 сағат бұрын
Let's get right to it - love that
@teej_dv11 сағат бұрын
that's what i try to do in all the vids (except if i have a good idea for a meme haha)
@avi7278Сағат бұрын
The 12 days of teej
@stefan_luptak2 сағат бұрын
Is there a typo in capabilites vs. capabilities at 1:57?
@eflinjh10 сағат бұрын
How did this work with "capabilites" as the property name on the table instead of "capablities"... did it fuzzy find the right config option too? for reference timestamp- 2:14 line 12
@toltarius11 сағат бұрын
Hey TJ, I love this a lot! And thank you for the tutorials. I just moved my nvim config today from packer to lazy because of your videos and its been amazing. Though, I am unsure why or how the icons on the left of the cmp menu are not showing for me like you did at 2:33 in the video. They show as a ? mark icon for me. Can you point me in the right direction to fixing this? If not I will just try to google it as best I can until I give up.
@teej_dv10 сағат бұрын
hmmm, all the configuration i have for completion is in this video haha
@toltarius10 сағат бұрын
@@teej_dv No worries! It works as expected its just the icons do not show like for the symbols. I am running windows terminal however so it could have to do something with that. Off to googling I go!
@n.fejzic8 минут бұрын
@@toltarius Can it be that you miss a nerd font?
@rexsybimatrimawahyu329223 сағат бұрын
Ceo of neovim....
@programmer135622 сағат бұрын
you too eh? [heheheh I see a horse with laser eyes]
@user-sq1oi9qp8w22 сағат бұрын
he is one of core maintainer of neovim after all
@teej_dv11 сағат бұрын
haha thanks
@FrankJonen22 сағат бұрын
What would you recommend for writers in terms of getting definitions to show up like these autocompletes? Like you type “Westeros” and get a list of all places within it along with a one liner description.
@tomaszgalkowski870121 сағат бұрын
You'd need a custom LSP.
@teej_dv11 сағат бұрын
ya custom LSP or a custom auto completion source. either would work probably
@ArisTheInquring23 сағат бұрын
You know i had seen this the other day when browsing the cmp docs is it better ? The way it was referenced made it sound like a much better completion engine
@teej_dv11 сағат бұрын
I'm going to try it out for a month and give my thoughts as a comparison
@Junior.Nascimento12 сағат бұрын
this is fire
@teej_dv11 сағат бұрын
thanks!!
@keteremillparioСағат бұрын
how do you manage to combine copilot and autosuggestions? I'm struggling a bit lately (I just installed copilot to see how it works but it's conflicting with autosuggestions, specially the keybindings)
@blyedev16 сағат бұрын
This is great, is there any way to use it with the lspkind menu feature? You made a video a while back that set up lspkind to show where each completion item comes from, the function highlight is cool enough to switch over but the source label is very important to me
@teej_dv11 сағат бұрын
i'm not sure - i would check their readme and see. maybe i will come back with some advanced config for the plugin or a review of it after a month or something.
@blyedev2 сағат бұрын
@teej_dv i did some digging since the comment and they do support it! Without an additional plugin even, they have that as built in functionality!
@sayanta0122 сағат бұрын
can you make a video on: A new way to setup LSPs has been merged
@teej_dv11 сағат бұрын
ya, but it needs a little time to cook first, i don't want to make the video and have it get out of date. it's still nightly only and very recent
@sayanta014 сағат бұрын
@@teej_dv ohk, btw thanks for this series
@thegreasetray767610 сағат бұрын
I added this to the kickstart config but when I type vim.api.bsl and accept the nvim_buf_set_lines selection it goes to select mode with brackets and params instead of just compeleting the method. How do I change this behaviour to match yours?
@thegreasetray76765 сағат бұрын
Ok, it was cuz of the code snippet lmao Realized it's a pretty neat feature after digging more into it.
@n.a.s109623 сағат бұрын
Can you show how to use the built-in completion.
@teej_dv11 сағат бұрын
i mentioned it in a previous video, and to read ins-completion. i don't think i'll make a whole video about it. tho
@usernr54613 сағат бұрын
I also use blink.cmp, but encountered some weird behaviors. When I write the same vim.api.nvim_buf_set_lines( I get the same hover window as you get. But every time I type "0" for example it closes the hover and opens it up again when I type the ",". I do not get why and it looks much smoother on your video then for me. It is kinda distracting. Does someone maybe know why?
@teej_dv11 сағат бұрын
hmm, maybe old nvim version? that's my only guess offhand. Otherwise i'd check the issue tracker
@EliasHansenu7f21 сағат бұрын
I installed nvim via kickstart and added som custom plugins. But when I tried to disable nvim-cmp to try this plugin Ive got a lot of errors. I don't know why yet, but it may be a good idea to untangle the awesome kickstart project
@sergioteixeira331319 сағат бұрын
cant get buffer words working with blink though
@darkchoclate18 сағат бұрын
I'm confused, how it's easier than cmp? You setup, you pass capabilities to lsp. that's it.
@teej_dv11 сағат бұрын
i like the presets, so that you have a bit less to do in terms of keymaps (and less setup for the sources from what i've seen)
@Peter-UK-nl6cv23 сағат бұрын
mind blown
@leonardodavinci285619 сағат бұрын
so is this complementary to nvim cmp or seperate project because i wanted to see the path of the import variable and i was able to do it in nvim cmp but in blink ill need to read more about how to do that. Also i have been tring disabling the auto suggestions while writing code and it really makes you remember the names of the commands which you will forget when using autocompelete. Also removed around 10-15 plugins from the neovim for the minimalistic. Creating my own remaps for the snippets.
@patricorgi16 сағат бұрын
basedpyright lsp does not offer such signature help, or is it because I didn't configure it properly?
@teej_dv11 сағат бұрын
it may be that the LSP does not support it, I'm not sure - sorry :/
@Ask-78620 сағат бұрын
Wanna give a try. Is it capable of showing the doc while scrolling through completions even before we actually select it huh?
@teej_dv11 сағат бұрын
I'm not sure - i have to explore the plugin a bit more
@overthinker853222 сағат бұрын
Thanks for this info (I dont even use neovim)
@teej_dv11 сағат бұрын
hahaha well thanks for the comment anyway!
@JoeBrigAI15 сағат бұрын
To get to this point, we need: neovim < obviously lazy < package manager nvim-treesitter < configures builtin treesitter LSP's installed < external processes to neovim nvim-lspconfig < configures builtin LSP features blink.cmp < alternative to builtin omni completion ?
@IainSimmons14 сағат бұрын
This video is part of TJ's Advent of Neovim series, if you go back and watch the previous videos in the series, he covers all of those things 🙂
@teej_dv11 сағат бұрын
yup! basically every line of config is covered in the advent of nvim series
@kostadinterziev145319 сағат бұрын
How does ur theme have that texture on it? Kinda feels like paper is it a plugin or terminal specific?
@teej_dv11 сағат бұрын
hahaha it's actually just some weird youtube encoding issue!
@karamanliev20 сағат бұрын
I cant make cmdline completion work with blink for some reason.
@teej_dv11 сағат бұрын
hmm, i haven't tried it out myself yet - i like the default completion stuff usually
@karamanliev9 минут бұрын
@@teej_dv The default one doesn't suggest words from the buffer with "/" and "?", I think. But they have this in their default config: cmdline = function() local type = vim.fn.getcmdtype() -- Search forward and backward if type == '/' or type == '?' then return { 'buffer' } end -- Commands if type == ':' then return { 'cmdline' } end return {} end,
@kpr372917 сағат бұрын
Hope you can implement this on the kickstart-nvim repo soon
@teej_dv11 сағат бұрын
ya, i'm going to give blink a try for awhile, but if I like it a lot then I may update kickstart nvim to use it as well
@kpr372910 сағат бұрын
@@teej_dv Thank you Tj! I've spent the whole night yesterday trying to refactor my kickstart, although it worked for go projects using mason +lspconfig, it couldnt say the same with JS (using eslint, tsserver). I just reverted it back to the base lsp conf from kickstart :P
@gungun9742 сағат бұрын
Look cool. I will try it right now since I think nvim-cmp SUCK (or at least I got my neovim going very very slow after opening too many buffers)
@idk-nv22 сағат бұрын
Nice vido, How to config source priority?
@teej_dv11 сағат бұрын
it's in the order of the sources in the list of config options
@halamadrid523819 сағат бұрын
Swapped to blink last week and ITS SO FAST
@MonospaceMentor13 сағат бұрын
Blink and you'll miss it!
@teej_dv11 сағат бұрын
ya, it does seem VERY snappy
@justincmendes18 сағат бұрын
D: y r u yelling at me
@iukys388923 сағат бұрын
Is that it ??
@teej_dv11 сағат бұрын
that's it................
@terxxxz23 сағат бұрын
Is it JetBrainsMono?
@gerydony653122 сағат бұрын
looks like Berkeley Mono (paid font)
@terxxxz22 сағат бұрын
@@gerydony6531 ty
@teej_dv11 сағат бұрын
ya, berkeley mono - jetbrains mono is great though
@cz725921 сағат бұрын
It’s very sad to switch to blink and just realize how slow the LSP server is. No blink can save that. But hey at least it’s fast when I am in lua files.
@teej_dv11 сағат бұрын
haha yes, some lsps could definitely go faster
@asg881323 сағат бұрын
Is this better than nvim-cmp? How?
@AhmadMughal121 сағат бұрын
much much faster and fuzzy finding as well
@런지부20 сағат бұрын
The repo says it's still beta , is it unstable? I should try it though
@AhmadMughal120 сағат бұрын
@@런지부 So far i had 2 issues which were resolved the next day i woke up. If you don't use a lot of external cmp sources it should be very easy to replace and it offers most common native sources by default so do check that list. After those 2 issues I've had no problems since.
@hugosales810223 сағат бұрын
C-n and C-p, common emacs w :v
@teej_dv11 сағат бұрын
haha i think c-n, c-p have been in vim for a long time (idk who had it first)
@hugosales810210 сағат бұрын
I only tried vim very briefly (before emacs, actually), so I wouldn't know, but in emacs those are the main navigation keys, comparable to hjkl. I will grant that it's a bit weird that it's C-b for back, C-f for foward and C-n for next and C-p for previous, di they're spread out, but it's not such a big deal. It's awesome that they're everywhere, like in bash or anything using readline. I'm sure vim is great, but I couldn't get used to the modal stuff
@SR-ti6jj15 сағат бұрын
Hmm, so that's it?
@teej_dv11 сағат бұрын
haha that's it!
@alexferreira153423 сағат бұрын
first!
@teej_dv11 сағат бұрын
first reply
@br4vetrave1er22 сағат бұрын
lets type something! types kkk... me af 🗿
@teej_dv11 сағат бұрын
hahahaha
@mogambro21 сағат бұрын
Ctrl-N and P are so wrong. Should be Ctrl-K and Ctrl-J instead
@willernst21 сағат бұрын
C-n and C-p are nice patterns to establish because they're ubiquitous, though.
@teej_dv11 сағат бұрын
:help ins-completion :)
@sairaj566023 сағат бұрын
benchod, this is way too easy to use as compared to nvim-cmp
@henryallenlaudemilk516120 сағат бұрын
Anyone use mini-completion? Why blink.nvim over mini-completion?
@teej_dv11 сағат бұрын
all the mini plugins are great, hard to go wrong with them
@Ghostbutfromdestiny220 сағат бұрын
2 time but still curious, who no startup? (like alpha.nvim)
@teej_dv11 сағат бұрын
why startup? for me it doesn't give me any useful info haha
@Ghostbutfromdestiny217 минут бұрын
@@teej_dv Thats fair, i use one because i normally need the most recently used files (i meant why in the original comment). Thanks for reply tho