 Okay, we're continuing our series on VIM and today we're going to be looking at remapping some of our commands. So you know with VIM, let's say I'm in this file, this little file that we've been working with as an example. I come in here, I make some changes and then I want to save and quit out of this program. So I would hit escape and I would type in colon, so I hit shift colon to make a colon there and then I would type in WQ and that would write the file and then quit. Problem is, probably more than half the time, I type it so fast that I hit shift colon and then when I hit the W, my finger is still on the shift key, so I end up typing capital W, lowercase Q and when I hit enter it says none editor command WQ with the capital W. So what I want to do is I want to reissue that command to work both ways. So what I'm going to do is I'm going to run the command here, but then again we're going to have to put in our VMRC file to make it a permanent thing. Especially with something like this, since you're quitting out of it, you would lose that command as soon as you ran it. So what I'm going to do is I'm going to hit colon and I'm going to type in command exclamation mark space and now I type the characters that I want the command to be. So in this case capital WQ space and then colon WQ lowercase enter. Now when I hit this I can hit colon WQ with the capital W, which is again what I type most time by accident and when I hit enter it works. But of course if I go back in here and try to do that again, it's not going to work because that was a command that I issued in that session. If I want to continue it throughout sessions, I need to add it to my VMRC file. So VMRC file in my home directory, that's the VIN run command file. These are commands that are run when I start VIM and what I'm going to do is just in here, just like we did there, I'm going to type in command exclamation mark and I'm going to say capital WQ space colon WQ lowercase and while I'm at it, I'm going to just go ahead again and type the same thing but for write. I don't really do that too often because, well, I guess I do it. Usually when I'm writing I'm quitting, but it's basically the same thing. So now if I just hit W, whether it's capital or lowercase, it's both going to write the file. So I'm going to save that, go back into our test file and now I can come in here. I can make some changes and I can say colon capital W and it works. It writes the file or I can do colon capital W lowercase Q and it writes the file and quits or I can do it just like it's supposed to be with lowercase Q and W and it works. So that mistake of me typing too fast and putting a capital W is now not an issue anymore and you could probably do the same thing with Q, although I very rarely quit without saving, but I guess sometimes I do. So if you wanted to add that same functionality, the command exclamation mark, you would put a capital Q space, colon and then a lowercase Q, put that in your VMRC file and you're good to go. So again, we'll just quickly look at our VMRC file here and you can see the commands again. So over the past weeks, we added syntax highlighting. We did our tabs and auto indent. And in fact, I am going to, for myself, change that to no, because as I mentioned in the last video, I'm not a big fan of the auto indent feature, not trying to start an argument there, and then our commands here. And again, if you want, you can put comments in here and so that later on you can remember why you put these lines in here. For example, I can be like, I don't like auto indent, but those are comments. They're not commands. It's just for people looking at that file. So if you were to share this file, you know what it's doing. So I thank you for watching again. Please visit my site filmsbychrist.com. That's Chris the K. There should be a link in the description there. You can search through all my videos from both my channels. You can also go there to find links to support me, both through Patreon and PayPal. Also link to my Patreon down in the description. That's Chris with the K. By the way, if I didn't say that, links to my website in the description. And if you can't support financially, think about liking, sharing, subscribing and comments. I thank you so much for watching today. And as always, I hope that you have a great day.