 Hey everybody welcome back to the channel today, we're going to is part two of our Create your own Vim config file Vim RC thing that we've been doing and today we're going to work a little bit on plugins now Let's go ahead and get what we created before up this bigger So CD.config CD and Vim See in it Typing is hard Okay, oh I've forgot. I'm not my main system. I can't just do my alias There we go, and we go back to the this is basically where in it them looks like right now And that means we're gonna have to create some files here, so The basically the way plugins work are very simple they use plug-in managers now There is a way to use Vim plugins without a plug-in manager I'm not sure how to do that yet. Maybe someday. I'll figure it out But for most people you just use a plug-in manager some people use bundle That's what I used to use you can use Vim plug, which is what I'm going to show you how to use today And people will ask well, what can you do with? Plugins there's a ton of different things always from color profiles to autocorrect and copy paste and File systems and nerd nerd tree and all sorts of different things that you can do with plugins So we're just gonna get a very basic start on this today. So I'm gonna this this is the github page here And I will link this in the description below and It's very easy to install Then plug if you're using them or neo them, so I'm using neo them But it's basically the same process. So if we Make a direction make a director here called plugins and then CDN and Then go ahead and then meant back into our and it does You know, okay, so we're gonna want to do here the source till the slash config slash in them slash plugins Slash plugins them Okay, well, we'll have to touch that here in a minute. We can just go ahead and save that I Think we're probably we will probably get an error. So we wanted to CD into plugins and touch plugins them Okay, and we want to In them into the play that we're there now We want to over here Go around here and where it tells you how to install. So we wanted to I'm on in them So we're just need to basically just copy and paste this now. You will need to see you are all installed I'm not sure if this VM has that or not. We're gonna find out I Really need a better terminal Okay, so CD back home directory I hate using you know, I want a window manager so bad, but we want to do this in one two control C and Back here and control Oops, I'm gonna have to Yep curls not installed. So that's just pseudo app install curl. I'm gonna go ahead and do W get and get as well I don't actually need those two for this time, but Future projects might recall it and now we can go up here and do this. There we go now I think That that might have curled into the wrong directory. We'll see Because it actually is gonna I bet you we now have an MVM file And we don't want an MVM file Maybe not No, good. Okay, so we can go to back into that config and them and CD into plug-ins again and And then into Plug-ins them. Oh, it's because it's already open You just close Okay, we don't want to close the whole thing. Just Okay, and then it tells you here that you have to put something in Your Plug-in file or you can also put in in in it that them if you want if you're not using the if you're not sourcing things from different files you can just go through it and You're gonna need to start out with them such been plugged and then it has to end with this here everything in between is your plugins, so we need to control see that and So fee create some space and then we need to call this fee now That is Basically all you needed and then plug is installed now. You need to let's install a plug-in. So we want to install Oh, let's say one of these we can just install one that I can actually showcase Yeah, we can go ahead and do This one here. I think yeah, we'll go ahead and just copy the whole thing This will give us an entry and we just put that up here Okay, and then we want to do is save this file WQ and we just go we go back into it and do we do plug install And nerd tree is installed success. I mean just quit quit out of that now I think the default for for nerd trees control and no it's not All right, so we're I'm gonna have to go to my profile here. Let's see here. Give me a second You're not gonna be to seal this see this because I'm off camera camera. I'm sorry about this. I should have had this up already CDT sorry Then mappings about them. Okay, so let's see here and nerd tree Okay, so I don't see what nerd tree in my config for what maybe it might not even be using your tree in this config I can't remember Okay, well Anyways We should be able to do nerd tree Maybe not Okay, nerd tree. No hmm Well, anyways in order to use nerd tree you have to set up the the key mappings and I'm not sure Where do let's go find us a different plug into? to look at What's a good one? Then plugins I will link to this Website here as well Something that I can I wonder if nerd tree actually get will give me the Okay, so we have to make sure we have all this stuff here I'm pretty sure we do Yeah, here we go. Okay, so we can just Get out of that and see up a level and them it Missing my alias Dot them and I will eventually create key mapping Like a specific dot Vim key map thing but for now we'll just put this here And then go back in and then see if control and yep, there we go see that's what nvim looks like And we just you know it shows you your file tree That's basically what it is and if we wanted to switch into a different thing that just You know, it's just that easy. That's what nvim looks like or not in them. That look that's what nerd tree looks like and like I said in this on This website here There's just tons and tons of different Vim plugins that you can use and each one of them has Documentation and stuff and this is where you find them all and how to to install them So like this is the airline teams that was what gives you you know cool can bar at the bottom It's really easy to install you just install it with a with Vim plug everything Everything you want to install is plug in Plug install Or if you want it if you if you deleted something from this You do you delete it in the file save it and you do plug clean if you want to do If you want to update it's plug update And that will go through and do go through and update all of your things now Once you've added some auto complete this will actually auto complete for you So you just hit you know the tab button or and it will show you some Options for it. I don't have it installed quite yet. But anyways that right there is Then plug and how you do plugins? I'm not gonna do it go through and install a bunch of different plugins. It's just You know find the ones that you want an experiment I might do some videos on specific plugins later on but that's how you install them plug and get started Now if you like this video give it a thumbs up if you didn't give it a thumbs down if you really like the channel give It a subscribe. We will see you next time with some more Vim stuff. Thanks for watching