 So in this video, we're going to start turning Vim into a kind of IDE. And it's very customizable. It's very nice. It takes a little to getting used to, but it actually makes a lot of sense, and you can do a lot of your work just with simple shortcuts. So we're going to be using HTML in this video just because I think most people sort of know how HTML works, and if you don't, it's easy enough to figure out. So in HTML, if we want like some kind of header, we have to type different tags. So here is, you know, here's our header, and we put it in the H1 tags if we want the biggest possible header. Now if we want Vim to work well, and we want everything to be nice and easy, we don't want to have to actually write all this stuff out. Or for example, we don't want to have to write our paragraph tags out all the time. We want Vim to do that stuff automatically, or more or less automatically. And of course, there's other stuff you might want to automate. So let's say you have text, and you want something bold inside. While you have to make a bold tag, you know, this is bold text, then you have to close it, and it's just a pane going over there to the, you know, the little bracket key or whatever. So we can do this all automatically in Vim. So what I've done, for example, is whenever I want a large heading, I just press semicolon, and then one. Actually, let me turn on screen key for you. So I press semicolon and one, and what you see is that Vim has already written out the tags. So I can write in my heading right here, so header. And then when I'm done writing it, what I can do is I press space, space. And then that goes to this little guide that I've created. So let's say I have, I can actually make a bunch of these things. So these are basically jump points in your document. And my shortcuts will automatically create them. And whenever I press space in space, it just goes to the next one and puts me in insert mode, and I can do whatever I want. Now I have similar shortcuts for other syntax. So for example, if I want a paragraph, I just type, you know, semicolon and then P, and now it's made a paragraph tag for me. And I can immediately start writing, or I can press semicolon and B, and that gives me bold text. And again, I can just press the space, space key to, you know, sort of cycle through everything. So let's go through showing you how to actually write this. Now, this is not the complete VMRC I was using. This is sort of what we're going to create, of course, more than this. So let me show you, in order to even start out, you have to have the file type plugin and the syntax on. And I think you need this no compatible thing as well. Let me turn off screen key because it's getting a little intrusive. Yeah, so basically how you make mappings in Vim is pretty simple. So here's a mapping right here. Now you use the command I know remap. This means in insert mode, remap these keys. And this says remap space space. So whenever I press space two times, it does the following. Specifically, you press escape. Let's actually open up a sample document. So let's say, for example, in this document, I have this little guide here. And if I press space space, what it literally does, all of these mappings are just literal, you know, key mappings. So first, it presses escape. So I'm in normal mode. Then it presses the little slash. That, of course, is search. Then it types in bracket plus plus bracket. Then it presses Enter. Now you'll see I'm right at this, you know, this guide here. And then what it does here is basically delete it and put me in insert mode. Specifically, in case you guys don't know what this is, but this means delete it and put it in this empty buffer here. That way it won't, when you try and paste something later, it won't paste out this. It'll just get rid of it. So it's quotation mark, underscore. And then C for change, four for four units to the right. And then L for, you know, well, actually moving to the right. So basically all that does is finds one of these, and then deletes it and puts you in insert mode. So that's how I navigate the document. Now, why is that important? That's important because all of the little shortcuts we'll make will sort of utilize these to move around, okay? So what I mean by this, I've already made a mapping here. And that is a semicolon I. I'll go ahead and show you what that looks like. It just puts emphatic tags around your cursor so you can type, you know, emphasis. And when you're done making those italics or whatever, you just press space space and it goes to the next little guide, okay? So literally what this does is the following. Well, I should say this is different from a general remap command. So this I know remap, it's going to occur in any kind of document we open with them. So HTML, tech file, you know, some Python script, a bash script, whatever, anything you open, it's gonna remap here. But here I've specified this to only work in HTML because this is only an HTML syntax thing. So we use auto command command, which says, okay, when the file type is HTML, then I'll remap a semicolon I to whatever. That's all this is saying. So what it literally does, we can just sort of go through it, is it types the emphatic tags, we're just looking right here. So then it presses space, then it puts in the little guide, then it presses escape. And then afterwards, so capital F, that means look for backwards. So capital F, then E will actually move to the most closest E to the left. And then capital T, and then this open bracket means go to, it's sort of like F, but it doesn't go towards it, it just goes to it. So now we're here, and then I puts us in an insert mode. So, you know, this is emphatic text, great. And then when we're done with that, of course, you can press space, space to get out. All right, so let's make another one of those for bold text. So let's say auto command, file type, HTML. So I know remap, and then semicolon B. So what we're gonna wanna do here is, let's open our bold tag and close our bold tag. Then we'll put a space, remember not to actually space, remember to put the, you know, space and brackets. Put our little guide here, then we'll have escape. And then, of course, what we're just doing is, we have made, let's see, this. So now we press escape, now we're in normal mode, and we wanna get back here between these tags. So what we can do is say, let's say find B, and then the same thing we said before, capital T, and then the bracket and then I. So we'll just say find B, capital T, bracket I. So if we reload, let's reload this. That should work if we press, yeah, semicolon B, and there it is, perfect. And of course we can make other things. Let's make a paragraph tag, for example. So auto command, file type, HTML, that way it doesn't, you know, so I know remap. And let's say, semicolon P is make a paragraph tag and give me the spacing. And let's say what I want is, I want it to make, oops, let's say I want it to make a paragraph tag, and then we want it to space down, so it gives us a new line, and then it puts us a guide here. Okay, so we'll do a paragraph tag, and then enter, enter to space down, and then we'll put in a guide here. Then we'll do escape, get into normal mode, then we'll go up by two, so that's two K, so two K, nope, press J accidentally. Now to make sure, let's say, let's see, where are we? I guess we could just, now you wanna be careful, now I happen to end up right where I wanna be, I could just press I, but you might wanna use a find command to find the exact right position. But I think in our situation we'll just use I. Now it'll get a little wonky, let's say if you have some other text here, but for our purposes it's pretty simple, so we'll just see, okay, yeah, that works exactly how we want it to. So now we have paragraph commands, commands for bolding and italics, and you should be getting a sense of what you have to do to make individual file type commands. So now we've made these for insert mode, but you can also make general commands for example you can use in no remap for normal mode commands, but this should give you an example of sort of a starting board for what the kind of stuff you can do in VIM to make your own IDE more or less with really simple commands like semi colon B, whatever, or of course I choose to use semi colons, you can really use any key combination. I just use semi colons because you don't often press semi colon P, so it's no problem remapping this. So anyway, I'm gonna put in the video description my own VMRC with all my commands, and of course I encourage you to make your own because the way you write the syntax of whatever document might be a little different. So anyway, go ahead and play out around with that, hope you learned something, so see you around.