 This video is part of a series that we're continuing be sure to check out the full video There's a link in the description to the playlist. I recommend watching those new video every Wednesday and before we continue I want to Go over some that I say corrections, but just Go a little more specific into some things I said in previous videos, so I'm gonna Vim into my Vim RC file And here in the last video we added these commands I couldn't remember if I was like I put these colons here and didn't seem right to me, but it worked They don't need to be there it does work with them there, but they don't need to be there So I'm gonna go ahead and remove those for our mapping for controlling and control P to move through our buffer files Another thing I want to bring up is I kept on using the fine command which I tend to use but to open up a file So let's say I do find Linux.js I can do that But really the command to open up a file is colon E And if I type in Linux though LIN and I hit tab it doesn't do that that search complete into the subdirectories I have to JS forward slash and that's that's why I normally use the fine command Over the E although I'm sure I can make the E command work like this as well in the end It does the same thing. It's just the fine command does better at searching at least with my setup So yeah E will open up files find will open up files, but also help you find them a little bit better Let's go ahead and add something in here to sort of something in this file Blah blah blah blah. Okay. We'll save that since we have it open now. We will continue with our tutorials Let's go ahead and just Reopen up so we only have one file open our index file here We're gonna be looking into splitting the screen today and a simple way to do that is just colon Split and the file you want to split so I'll say I don't think it will yeah, it doesn't do the the searching like fine does so I'm gonna do JS It does you do auto-completion so colon split and the name of your file in my case it's inside a folder called JS We'll file call the file Linux that JS will hit enter and it splits the screen And we can do that again so I can run the same command, but I can open up the test JS file So there you go. It's splitting the screen So let's say we want to split it vertically though so far. We're splitting it horizontally Let's say we want to split it vertically It's very similar and said split and the file name. It is v split So colon v split and the file name and you also notice that these top two Windows here I have are the same file and what's fun about this is if I start editing in one window Hey, you see it right away in the other window So yeah, so that's splitting and you can continuous you can continue splitting It's gonna split whatever window you're currently and you can see my cursor up here in the top left now You obviously I can't click to move my cursor In this shell program, so we're gonna use arrows or sorry keyboard commands, which is faster anyway And when you have split windows what you can do is you can hit? Control ww so control just double tap w and that will go to whatever the next window is and it will continue doing that Now you can also do control w up arrow to go up control w down arrow to go down and Control w right arrow to move right control w left arrow to move left and again control w w And you can just hold down control and keep tapping w to go through each window and There are other Options we can resize these windows. We can make some full screen. We can close them all that sort of stuff I'm not gonna get into that in this video I just wanted to go over the basics, but if you want real quick, we will review again So let me just go ahead and start closing out these windows And now I have one window open again I can v split to vertically split But if I was to just say split it will horizontally split and Again, you can see what window I'm in with the flash and cursor up here in the top left and I can hit control w w So I'm just holding down control and double tapping w to go through these and again to close one of these windows I can close out the file With the q-command just like I was going to be closing them It doesn't close all of them it can close the window and now you can also You know, I don't want to get too much, but you can also open up buffers and go through them So for example, I have the screen split here I can do my fine command main j s and now Here I can hit control p and I can go through all our files that are open in our buffer and If I was going over here, I can go through them here so you can easily switch If you wanted to move so here I'm looking at my index file on both if I wanted to put main j s on the right and Whatever I want to ask I have open. Let's see which ones. I hope and I can do Linux j s on the right and main j s on the left. Let's go ahead and do that So I'm on the right I can just with our previous commands that we've put into our vmrc file I can hit control n until I get to my main J s so that's over there now. I can hit control w w now I'm over here. I can hit control n and now the Linux ones over there and again I can split the window again and right now. I'm using commands. We'll get into keyboard shortcuts for this Hopefully in a future video, but let's say I want my index file here on the bottom Now or put it on the top So if I wanted to switch them on there might be a command to switch them But I'm just going to go through my buffers again if I want Linux j s on the top. I'll just hit control n till I get to it control w w and then I'll go control n till I get my HTML file back here. I hope you got all that so again Split is the function to split the screen if you want to vertically split it's v split and the file name and Actually, if you just do split It will split the file you don't have to give it a file name It apparently just splits whatever file you have open. So Let me control w w over here and I will split this screen So yeah, it will split it if you just do split If you don't want to open up a new file because it might already be in your buffer you can go ahead and just split it with the split command and if you want to Split it vertically v split without giving it a file name. We'll split the file that you're currently in Like that so split v split control w control w arrow control w either up or down arrow. I Hope that wasn't too much Try to keep these short That's about it. Thank you for watching. Please visit films by Chris calm. That's Chris decay. There's a link in the description Excuse me as always. I hope that you have a great