 Hey everybody, welcome back to the channel. Today is going to be a continuation of the video I did a few days ago where I started my very own NeoVim config file. And basically I'm just gonna go through and do some more of the basics that I've been missing over the last couple days because there's been a few things that I've not put in the file yet that I've completely, I've really, really missed. So that's what I'm gonna do today. I don't know how much, you know, like I said in the other video, this is not a tutorial if you learn something from it. Great, if you don't, just watch along and we'll have some fun. If you consider dealing with NeoVim config files fun, then you're a nerd like me, congratulations. You have a nerd Craig card. I definitely have mine. I like things in the terminal. Anyways, let's jump over to the main screen here. And we'll get started. So, NeoVim and Vim. So this is what my NVim file looks like so far. And I wanna go to another workspace here and open up a browser. And I wanna first, I want to do, I want to line numbers in Vim. Okay, so you're gonna see me do the research right alongside. You're gonna get to see the research in live action here. So let's see here. Yeah, I wanna set it permanently. And this is what you do in the thing. Yeah, I don't care about hybrid, permanent settings. Okay, so we should just be able to do, all right, so let's go back over here and CD into general, then into general.vim. And we'll just do set, oops. Thanks for that, insert mode. Set relative number. Okay, let's see if that works. It does in fact work, cool. Excellent. We got started. Okay, so the next thing I want to do is put in some, I wanna put in some key bindings to control, get back and forth between splits because right now I have no clue what the stocks key bindings to get between splits are. I'm sure it's like command w, command j or some, not command, control, but it's some weird funky thing. So we're gonna quit out of this and we're gonna CD up a level and into key bindings and we'll vim key bindings.vim, okay. And that's a, oops, wrong one, wrong browser. So we want to find out, actually I think the best way to do this is just to look at the old, the old end vim file. CD documents, actually I think it's downloads. Get things in vim, yeah. CD, let's see here. That's gonna be in keys, vim mappings. All right, so these, so we need these here. All right, so insert mode. I'm app C-8, if you're wondering why I'm typing these out is because I'm gonna feel accomplished, you know, that I actually did something instead of just copying and pasting a config file of somebody else's, you know, it's stupid, but I'm still gonna do it. I think what we can do is just yank this and paste it, J, K, L, why are the, it's weird that vim doesn't use the default vim bindings to move back and forth between splits. Isn't that weird? I mean, that's just really weird. It's like, it's, I mean, it's just dumb. I mean, I'm completely lost as to why that would be, you know, so J, K, L, J, K, L, K, okay, so if we could quit this and we open up this and we can open up a vertical split, now we should be able to do control J and K. No, that did not work, so those aren't the right ones. Okay, hmm, all right, well, which ones do I need here in order to go back and forth between splits? I thought those were the right ones. Terminal window navigations, better window navigations. Why does he have those twice? Let's take a sec. No, those aren't the same ones. Okay, so let's see what the difference is. I have no clue I map it versus NNO remap is. I'm gonna have to figure that out. NNO remap, C dash H, C dash W, H. Okay, we'll gank this and paste it four times. Change letter, J, J, K, K, L, L. Okay, and we'll try again. Now, scroll, aha, there we go. Aha, we're cooking with fire now, people. We have the right key bindings. Now, and these ones here will be used to resize splits, I think, and these will use alt, H, J, K, L. Okay, yeah, I think I want those. Okay, so let's close one of these, and we want to use alt plus them, keys to resize windows, okay, and move use them keys to move between splits, okay, NNO remap, this doesn't need to be counted out, okay. Okay, silent, M dash J, I think this is a tab, not resize minus two CR, okay, then we're gonna gank that and paste it four times, okay, and these just need to be the Vemkies, J, K, H, L, and this needs to be plus, and this one needs to be read vertical, oops, vertical, make sure I spelled the damn thing right, plus, okay, now close that and reopen it and do a vertical split. Now we should be able to do alt plus. I'm having a feeling that those key bindings aren't gonna work on my system, because I think I have alt and the Vemkie binding means to something else. I don't know why it would be, alt, let's see here, vertical, H and yeah, yeah, those don't work, interesting. I have a feeling it's because there's a conflict. I'll have to do some investigating later on to see what the conflict is, so I'm not sure what that would be. So all the other key bindings that this old one had that I actually think I need, all right. Now I'm gonna close out of this and close out of this and CD up a level and it plugins and then plugins.vim, okay. Now we want to do some more plugins, so vim plugins. Vim Awesome, which I will link to in the description below, is a great website for finding really cool vim plugins, and obviously this will work with NeoVim as well, so let's see, I don't think I want NerdTree, I think I'm gonna use Ranger instead. Can I like Ranger better? So like Ranger is brought up with this on my system and yeah, I think I'm gonna prefer Ranger. Yeah, let's see here, we want an airline because that's cool, okay. So let's see how it's installed with vim plug, okay. We need this line here, okay. Apparently I might have to save it and quit, okay, so. There we go, and we have airline installed, so we have to go through and actually theme that, so we'll close out of that side, go back to five, four, and see what we have to do in order to find the themes. Integrates variety of plugins including all these things here, which is good, I suppose. Exclusively sweetest themes because, including SolarEyes, Tomorrow, Bay 16, Molokai, Jellybeans, and others. Themes repository, okay. This plugin follows the standard runtime pass structure and as such it can be installed with a variety of, wait, do I, I don't actually have to do the themes separately, do I? Maybe I do have to do the themes separately, okay. Go ahead and, okay, okay, good. Using a theme. Once installed, airline, use airline theme to set up the theme or you can put it in the vmrc file. All right, that's great, but I want to see the listing of the themes. Where are the themes? Can you show me the themes? So you can go through and do this one, airline themes. Let's see what, if this will let me browse them. Oh, here we go. Let's see if OneDark is an option. Dark, a lot of themes here. I want OneDark, Monochrome, apparently OneDark. Oh, I went past it. Ha-ha, there we go, ha-ha, that's cool. All right, I'm wondering if that will save between sessions. It does not. Okay, so in our general here, we're gonna do cd..slashgeneral, vmgeneral.vm. We're gonna have to put that thing in there. This line here, this would be OneDark. Okay, and that doesn't seem to have worked. Wonder why not, did I spell it wrong? There's no, I wonder why they put, why they insisted on putting chevrons there. That's dumb, okay. Should be very easy. Yeah, there we go, cool, themed. Bam, all right, so what's next? So we got that, so let's go back to this here. I want the CSS thing, PersistentColor, we don't need that, TagBar, don't need that. Eventually, I'll do some code completion stuff, but I'll probably just use COC again. It's bloated, but it works the best of all these. The one that I want the most is going to be CSS, the CSS color thing, vm. I wonder if I can do something more general than CSS because I want all colors to be color. Then color, Solarize, let's see, Growbox, that's not, none of these things are gonna be the things that I need. Highlight colors maybe, the CSS color, that's probably gonna be the ones when I'm gonna actually have to use, do, do, do, do, do, highlight lines or patterns of interest in different colors, no. I wonder what the difference between this one and this one is. We're, I wonder what the, probably means this one here is actually still maintained. No, this one hasn't been updated in 10 years, okay. All right, let's see if the other one has been updated more recently. This one here, no, also 10 years, that's just gonna be exactly the same. I wonder why it was submitted twice. I guess I shouldn't be scared away that it hasn't been, you know, three, five, okay. We're gonna go back to plugins, cd.dot. I should plugins, then plugins.them, okay. Plug this, doll, okay, good. And let's see if I have a CSS file here. Yeah, all right, cd.mozilla, no that's not the right one, cd. Documents, pages, okay. Let's see, vim main.css, yeah, all right, here we go. Somewhere around here, there should be a color. Yeah, see that's not working. This color should be highlighted in something. Maybe that was the wrong plugin. I wonder which one, cd, see, plug, vimplug. All right, let's see, better comments, change dates, convert binary, repeat stuff, text navigation, useful for react commenting, highlight all matches under cursor, easy for VS code, sneak, which I don't need, surround which I already have, files. I have a file, file says vimruder, vim sleuth, polyglot, I'm wondering if it's gonna be this one. Model pairs, close tags, one dark, which is, I believe I already have, I guess I don't already have that, I guess it doesn't matter right now, I don't need it. Worry about theming it later, once I get the plugins that I want to use done. I see, COC, which we're gonna do later, fuzzy finder, get gutter, fugitive, rhubarb, gvg, vim float terms, Spotify, Vista, I forgot that I've not, I really gotta learn to zoom in every time, I'm sorry about that. I have a sticky note on the bottom of my monitor that says always zoom in. Now I need another sticky note on my forehead that says always look at the freaking sticky note. It's dumb, all right. All right, let's see here. Interactive code, XTabline, don't need that, UndoTree. I wonder why you'd need this one, cause time travel is already built into VIM. I don't know. Windows Snap, Preview, Gist, NVIM Colorizer, I bet shit's gonna be that, NVIM Colorizer. I bet shit's gonna be that. This one right here, this one. Yeah, that's exactly what it is. Okay, so this is what we need, okay? So what we're going to do is actually go through and delete the CSS color one, cause that was 10 years ago. And this, re-enter this and do plugin, first do plugin clean. Yes, okay, close that and do plug and install. Okay, now that's good. Now close this and we will open up a scratchpad and go to cd.sr, documents, pages, vim main.css. Now that's still not working. That's weird, that doesn't work, right? I mean it should work. Hmm, well I'm stumped. There has to be another, let's go back to four here and see if there's something else we have to do. Installation usage. So when you plug them in, you're going directly into runtime path, as long as you have mail-o-c, a free in your system, this will work, which includes Linux, OSX and Windows, one line setup. This will create an auto-commander, file-type, you should add this line after below where your plugins are set up. Okay, so I'm guessing I'm gonna have to put this in the init.vim file, okay? cd up level, vim init.vim and my guess is that's gonna be an str, that's my guess is that that's gonna be an str, let's get rid of st and just, you know, cd, i3.com will work. Actually, vim fig, polybar, I can't type. Nope, it's not a str. Term GUI colors must be set. Do, do, do, do. Yeah, I'm not sure what that is. Okay, well you want to know what? We've been going for half an hour and I've done quite a few of the things that I needed to do. If you don't have to color your terminal and are unsure, read this excellent guide. I do have terminal colors, I think, I don't know. I'll have to investigate that later. Anyways, I'm done for now. There'll probably be a part three of this video while I continue to putter around with creating my own config file. This is just me having fun. I don't know if anybody's gonna actually watch these videos. It doesn't bother me, I'm just having fun. That's really all I want to do is to have some fun with nvim. Maybe practice with creating my own config file and learning new things. That's really what I'm here for is learning new things. So if you enjoyed this video, give it a thumbs up. If you didn't, give it a thumbs down. If you want to support the channel, you can do so in, well, there's more than two ways. But the two main ways I'm gonna mention, you can subscribe, which is completely 100% free and takes literally no effort. So if you watched this far into the video and you haven't subscribed, please subscribe. We love our subscribers. I love our subscribers, it's gross how much I love you. You love you subscribers. You're all 45 of you. It's a little creepy. Anyways, you can also, if you are monetarily enabled, you can support us on Patreon at patreon.com slash the Linuxcast. Nobody's done that yet. So apparently nobody's monetarily enabled. Anyways, thanks for watching. We'll catch you next time.