 So what do we use R for in Vim? I am so glad that you asked because it is one of my favorites. It's a little bit bizarre but we use R for replacing things and there are two really fun ways to use it. Welcome back to this short tour through Vim. I'm fantastic and today we're talking about R in our journey through Vim A to Z. Today we're going to open up a new file that I made called ASCII.TXT and I want to use this to show you R. R is one of my favorites just because it's a little bit kooky but it is awesome. We can use it to replace letters. So we'll use the lowercase R to replace some letters here. Right here I have a lowercase T and I like to make that an uppercase T. I can do that by using lowercase R and a capital T. Now one thing you'll notice is that at no point did we enter insert mode. So we can only use this for one character but it's nice because now I am still in command mode. I can navigate without having to escape out. So that's a big advantage there. So I'm going to navigate to this other one. Do R, C, not in insert mode so I can continue to issue other commands. We'll change this to a capital M. Good to go. So that's lowercase R. I want to show you some of the benefits of uppercase R and this is where it gets a little bit kooky. The reason that I wanted to show you this ASCII file is because I use uppercase R a lot in editing these types of like little ASCII graphics that I have in readmes. Now one area that I would do this is that I want to add a little divider here and I can use capital R to put myself into replace mode. So this is kind of like insert mode but it's actually replacing characters. It's writing over characters. So I can do a plus here. I can do some more dashes and another plus to end that intersection. Now you'll notice that as I delete back through this the previous characters are retained. So that's a really cool thing about this mode is you can back up and kind of see what was under there before. Now another thing that is useful in these types of graphics is that I can use replace mode to replace the content here. So if I reduce C to insert mode to delete this it's going to delete all the way here. So it deleted that that part of the line and so I can add my stuff but then I have to add all the spaces back and do that. That is a little bit cumbersome. However I can use replace mode and do some content and just write over that without affecting the boundary here. So it's a little bit kooky how capital R works but I love it and you'll find that if you do stuff like this where you have kind of content that you want to keep or there's some fixed widths this happens a lot in readme's. This is a great way to replace content without having to constantly editing these boundaries and adding space and whatnot. Anyway I love R. R is kind of bizarre and awesome and I love it for all of those reasons. So if you want to learn more about R just capital or colon H, R will get you into R and there's some some things that we didn't cover. I don't actually use these but maybe they these variations will be useful to you. So that's all about R that is the simple explanation of R. If you have anything that you use R for and would like to share please put that in the comments below. I will add a playlist link to the description so you can see all of the other amazing letters that we covered. Tomorrow we'll be diving into S which is kind of like C and D but like a little bit different.