 Again, we're continuing a series working with Vim. I hope you're enjoying this series, new video every Wednesday. Check out the link in the description for the full playlist. As always, I thank you for joining us today, but I do recommend watching the previous videos before we get to this video because we're gonna be glossing over stuff we've got over in previous videos. But I will try to do some refreshers on stuff. But again, I can show you the current directory I'm in. I have index.html. There's a folder called js with some JavaScript files in them and there's some sub-folders with another JavaScript file in it. If I go into my index file, with the settings we've created in previous tutorials, I can do find main.js to open that. I can do find linux.js to open that. And I can do find, whoops. I can do find, find, I'm getting tired, find. Test is the other one that we've been playing around with. So now I showed you, I can colon, list, and I can list all the files I have opened up in the different buffers. And we've learned that we can auto-complete from each one of them. And we can switch between them by typing in their name so I can go B and I can do index and tab complete that to go to the index. I'm gonna do B for buffer and I can do linux.js to go to that one. And I can do colon B, test.js to go to that one. But there's other ways you can do this. So you can move back and forth from one buffer to another in order by doing colon B next. And you can tab complete so B next. We'll bring you to the next one if I do that again. And again, you can hit up arrow after hitting colon to bring up previous commands. So I can just keep on going through each one but I'm still hitting four keys for each one of those. I'm doing shift colon up, enter. And that's only if that was the previous command I typed. And I can also do B previous. So colon B previous, and again, I tab complete that will bring you to the previous one. So you can go forward or back through them but that's still a pain in the butt to type all that. So what we're gonna do today, it was gonna remap some keys. I don't wanna say in a previous video I did on creating commands. I created some commands that you could type. I called that. I think I might have accidentally said remapping in that which technically is wrong. And there are many different types of remapping. I'm not gonna get into it today. So today we're gonna use N no remap. Sounds like a lot. So what we're gonna do here is again, we're outside of insert mode. And what we're gonna type in is we're gonna type in colon N N O R E M A P. So N no remap, space colon capital C dash N. Did I say colon? Greater than symbol capital C dash N. Close that tag space. And then we're gonna say colon B next. And then we're gonna say inside these greater than less than symbols here, CR. And so what we just did was we've set it up. So now when we're not in insert mode, I can hit this dash, the C dash N means control N. I can hit control N and I can just start going through each one of our files one at a time by hitting control N. And now we can do the same thing by typing a similar command. I'm gonna do control dash P and I will do previous. Did I spell previous right? Yes, I believe I did. So now I can do control N to go forward and control P to go back. So I can quickly go through all the files I have open in the different buffers. Now again, like everything else, those commands that we run there aren't permanent unless we put them in our VimRC file, which again is a script that runs every time we start up Vim. It's in our home directory. It's hidden file, so it's dot VimRC. If it doesn't already exist, you can create it. This is the one we've created so far in the previous weeks and I'm just going to cheat and copy and paste here. So again, our colon. Oh, do I need the colon there when it's inside the VimRC file? Well, let's find out. I'm forgetting what I've done in the past. Okay, so, oh, let's see, I have to open up some files. So, find test, find Linux, find main. Yep, so I was right typing it that way. What was your understanding, sure. Great, when you're teaching a tutorial and you have no clue what you're doing. Anyway, I'm doing colon and no remap. And then again, this means this C dash N, the capital C means control. It is case sensitive. So control N, control P, and we're replacing. So when you press those, it's actually running these functions here. And again, that works now. Anytime open up a file and I have more than one file open inside buffers, I can now control P. I'm just holding down control and tapping P or control N to go forward, control P to go back. So, I'm hoping in during these tutorials and if you are, be sure to check out my website, filmsbychrist.com, that's Chris the K, link in the description, yada, yada, yada. You've been watching these videos. I would really appreciate some support, patreon.com or PayPal. If not, like, share, or subscribe. Thank you so much for watching and as always, I hope that you have a great day. Be sure to check out all the links.