 This is video four in a series on VIM and each week I'm just going over some basic stuff for people who are slightly familiar with VIM but are looking to expand their knowledge on it. Instead we're going to talk about auto-completion. There's a lot of plug-ins for different types of auto-completion. VIM does do auto-completion by default. Some of these plug-ins will add more functionality to it, but VIM has the box, again, does auto-completion and a lot of people may not realize that. It does different types of auto-completion. Today we're going to be looking at auto-completing based on stuff you've typed in the file already. Let's say we were typing some sort of code. I'm just going to create a function, call it test, and then here and here we can just say printf, hello, whoops, world, and then I can close that function. Now anything that's already been typed in this file, I can go ahead and I can start auto-completing those things that I'm typing. For example, let's say I want to create another function. I can type in fun and I can hit Ctrl N and it auto-completed for me. If I go ahead and start typing t, I can hit, since there's only one word starting with t at this point, I can say auto-complete task, but we'll call this test function, but at this point I can add in, again, I can hit P, Ctrl N, and it auto-completed so far where auto-completing based on stuff that there was only one of in the past, but now we have two things to start with test. Let's say I wanted to run one of these functions, the test function. That's confusing. This test function, not this test function. I want to run this function. I can type in te and I can hit Ctrl N and you can see it gives you a list. I can hit Ctrl N again and again going through the list, or of course I can use my arrow keys and then pick one, oh, I guess Ctrl, I'm using Ctrl N, so Ctrl N until you get to the one you want and then you can continue typing. That will, again, auto-complete anything you've typed previously in your files. If I have Tom, Tim, Thomas, Timmy, now I can type T and hit Ctrl N and I get a full list of things that have previously typed and I can pick the one from that list. Of course, if I type in th, there's only one so it just automatically completes those. That is very basic and there's more functionality to VIM's built-in auto-completion without plugins that we're going to get more into in future weeks. Again, this is part of a series. Be sure to subscribe so you don't miss the future videos. Each week I'm going to be putting out a new VIM video on Wednesday. Keep on watching, subscribe, like, share, comment. Those things help me out greatly. If you have a few extra bucks and you want to support me financially, you can support me through patreon.com. There's a link in the description to that. There you can support me with as little as a dollar a month. Or if you want to do a one-time support, I do have a PayPal account. There's a link to that at filmsbychrist.com. That's Chris Decay. There's a link to that in the description as well. Great place to search through all my videos from both my channels. I do thank you for watching. As always, I hope that you have a great day.