 Hello and welcome. If you follow my videos a lot, you may know that I don't like having a lot of unnecessary things installed on my system. That's true on my phone. I have very few apps installed. Almost everything I do on my phone is either through the Turmux shell and I use the same programs I use in that as I do on my desktop or through web links to web applications I've written on my own server. And 99% of the stuff I do on my phone is one of those two things. But same goes with my web browser. Extensions are great. But besides extensions that I've written myself, I usually only have three extensions installed. One of them being Vimium. Vimium is a great extension. It's available for Chrome slash Chromium. And also Firefox, although I have not tried it in Firefox myself. And what Vimium does is it gives you VIM key bindings for a lot of functionality in your web browser. And your web browser probably actually has more key bindings than you may realize. Almost everything that VIM, not everything, but a lot of the things Vimium does, Chrome has its own keyboard shortcuts for those things. But what Vimium does, again, is it makes it the same key bindings to similar functionality in Vimium or VIM. And if you use VIM, that makes it very nice. So let's have a look at exactly what it does. So here I am on my web page. And you can see up here is I have this blue circle with a V in it, saying that Vimium is running fully on this site. Sometimes that blue circle is only half filled in and we'll talk about that in a little bit. But what I can do here is I can do J on my keyboard to scroll down and K to scroll up, which is very nice. Now you might say, oh, I have the arrow keys that allow me to do that, which is true. But they're off your home row of keys. So it's a little bit more of a hand movement. But also it's not the same. This is smooth scrolling. Watch, I hit J and it starts scrolling down. I hit K and it starts scrolling up. Now watch the same thing when I hit the arrow keys down. It moves a little bit, pauses, and then goes because it's waiting for that key to repeat. I can hit up and it pauses. It goes a little bit, pauses and moves up. So this is very nice. So these are, this is the arrow keys. You see the difference? Now I do J and it just starts scrolling smoothly. Another advantage of this, I've had a few times where I go to a website and it has this big ad blocker thing on the page and I'll use, one of the few plugins I have installed is ad blocker and I'll remove that ad with ad blocker. But then scrolling functionality so that overlay is gone. But I can't use my mouse or the arrow keys to scroll up and down. There have been a few occasions where I do that. But J and K still work and I can scroll up and down on the page even though that functionality seems to have been disabled because they've disabled the keys and mouse, the arrow keys and mouse. Anyway, J and K are very nice. That's one of the main functionalities that you use. And another thing is, so if I'm scrolling down on the page and I want to go back to the top, what I can do is, just like in Vim, I hit GG and it brings me to the top of the page. And that's really nice especially if you're on a page that just keeps loading as you scroll down. Or even if it's just a big page, for example, like on Facebook, you know, you're scrolling through, scrolling through, scrolling through. Now you want to go back all the way up to the top. And some websites and some browsers want functionality. Like if you look at my web page, this page here in a mobile device, let's see if it shows up when I go to this mobile view here. Yeah, I have a button here that when you're in a mobile view, you can click this button and it scrolls you back up to the top. Also, I also have the menu up here that allows you to scroll to sections. But not every website has this little arrow here. Not every web browser has that. Well, in Vimium, again, if I'm scrolling down, I can be all the way at the bottom of the page. I hit GG and it scrolls back up. If I want to go all the way to the bottom of the page, I hit Shift G, so a capital G just like in Vim. So I can go GG, GG, capital G. I can scroll up and down from the bottom of the page to the top of the page as fast as I want. And another function I use now, my page, if I load this up after a few seconds, it scrolls down and brings you to the search bar. Not every website does that. And so if I was to go, let's say, Amazon as an example, almost every time I come here, I want to go to this search bar. Why wouldn't I? Well, I don't want to take my mouse and click on that. What you can press is GI and it brings you to the first input on the page. So I'm going to have it that if I was to go to Amazon, as soon as I get here, I type GI and then I start typing what I want to look for. So GI is a great little key. And then also I just use the mouse just because I'm talking to you here. Let's do this. Let me open up a new tab and I will go to Amazon again. I want to close Amazon. Again, Chrome has a key. You hit Ctrl-W. It closes a tab. But if I was to be at Amazon, the key binding for Vimium is just X. Just letter X. And then to open up closed tabs, it would be Shift-X. Now, you might be asking, how do I know all these commands? Well, once if you're on a page that Vimium is loaded on, you hit question mark and it brings up, actually what it will bring up is this, which are your basic functionality. But there's more to it. After these basic functionalities, there's a button right here that says show advanced commands. It will show a few more commands that aren't in those basic commands. And again, there's a lot of commands here. I use just a handful of these. So far, I've shown you the navigation. But another great functionality and one of the most useful things about this is if I hit F, it puts little yellow boxes with letters next to anything that's clickable. And this works most of the time. There's a few pages that the way they have things as clickable. It doesn't detect it, but it's very rare. But I click this and you see like up here at the top of my menu, I have S, A, C, D. If I want to go to the software section, I just hit D now and it will bring me to whatever that link is. Now, I can hit F and then I can hit M if I want to go to my script page. And then in here, I can hit F. And again, it gives letters for everything. And let's say I want to go to S, H and I'll be my HTML5 examples. And if I want to go back, I can hit Shift H to go back in history. And again, I can hit X to close a window. Now, certain things that are frustrating when it comes to Vimium is for example, if I reload my page here and I go, oh, I want to go to that to this first video, this little C and C link here. I'm going to hit F and it doesn't work because I'm in a text field. So obviously, if you're in a text field, you want to type so Vimium is not going to function while you're in that text field. So there are times where I go to do something in Vimium and it doesn't work because I don't realize I'm in a text field. If you are in a text field, you just hit Escape and now I can hit F and do it. So that's just something I'll be aware of if you're in a text field. Obviously, you can't type these keys for the Vimium shortcuts because you're typing in a text field. Just hit Escape on your keyboard and then you can type in whatever. So again, F will bring you to a link. Let's go ahead and open up Google. Oh, let me bring up another thing about Vimium. So Vimium, again, it's a Chromium extension. So basically, it's injecting JavaScript into your page. I haven't actually looked at the code but I'm assuming that's what it's doing because that's how extensions work. So a page has to actually load. So if I was to open up a new tab here, you notice Vimium is grayed out. Vimium is grayed out so it's not running on this page because this isn't a page. This also happens when you're in a PDF file. So if you're in Chromachromium and you go to open up a PDF file, then you're going to start trying to hit J and K to scroll through it and it's not going to work because it's not an HTML page so it doesn't load that JavaScript. So be aware, keep an eye on this icon. If it's grayed out, that means Vimium is not running. So if I open a tab, I can't use the X key to close this even if I wasn't clicked in that. Let's try it again. X isn't going to close anything. I can hit control W which is closing a window or a tab in Chromach's default keys. So be aware, if that is grayed out, that means Vimium is not running. But let's go here and just type in Linux and we get Linux. So for an example, if I want to go to Linux Wikipedia page, I just hit F and then I can hit G and it'll bring me to the Wikipedia page. I can scroll down through here. I can see off to the side over here that let's say I want to go to that open source page. I hit F and then I hit LA and it opens it up. And if you're not into using the keyboard, this may not be a thing for you. But if you're someone like me who likes using the keyboard as much as possible, it's very useful. Another time it's very useful. I do have a Chromebook. Like it or hate it, I have a Chromebook and I have Vimium installed. And the Chromebook is a touchscreen Chromebook. I got it because I'm going to mostly use it as a tablet. And lots of times, lots of times, you know, touchscreens are great sometimes, other times are not. But on my Chromebook I have found quite often, and I don't know if it's the touchscreen or just Chromebook running slow, although it runs very well. If I click like with the touchscreen on a link like this, I'd say 25% to a third of the time. Instead of clicking that link, it brings up the context menu like that. It thinks that I'm long clicking. Most touchscreens, if you hold for a couple of seconds, it thinks that you're right clicking and you want to open up a context menu. But I'll click real quick, just tap my finger on there and it brings up that menu and it's so frustrating because then I have to click somewhere else and then go back and click it again. But I use that keyboard and I don't have to worry about that. I just hit F and I can hit the keys I want and that's how I do it. And I know I have a touchpad too but I hate using touchpads. I much rather use a touchscreen. Again it just doesn't seem to function very well. A lot of the time trying to click on links in a web browser on my Chromebook you would think it would because that's what it's designed to do. But most of the time it doesn't. But if I had that keyboard out it's very simple. It's not an issue so I definitely use it a lot in there. Now let's say oh I want to copy a link. So you can see right here we have a link to the free software movement here. So again F will give me the letters to go to that page. But if I hit YF now if I hit DA it actually has copied that link to my clipboard. So I can go paste it somewhere else or as you'll see in a future video and the reason I'm showing you this today is I use that a lot when it comes to scripts I've written. I have scripts I've written that are linked to shortcuts on my keyboard that check my clipboard. So I can do a lot of things where I grab a URL and I have it sent to my phone, get a tiny URL, send it to my TV or another program that I want to open up that URL in such as YouTube DL or MPV which again we'll get into in a future video. So again YF and then the letters will copy it will yank it so Y for yank the link to your clipboard. And so then I can paste it somewhere so if I was to open up a new tab I can hit Ctrl V and you can see it has now pasted that URL in there. So here I've opened up a new tab but let's say I wanted to go to this free software foundation I want to open that up but I don't want to open it up in this tab I want to open up another tab instead of just hitting F and SA I'll hit now Shift H to go back through history. I can hit Shift F so a capital F and I'll do SA it opens up it in a new tab in the background and then I can tab over to that tab with my keyboard. So again once you have it installed hit question mark to bring up the the help menu you can hide and show. Now one more thing I want to show you is let's say you go to a webpage that uses your keyboard a lot let's say you're playing an online game in your browser and now Vimium is going to start grabbing those keys it's not going to work in what what you can do let's say I wanted to disable Vimium completely on this page and click up here and saying you know this URL what keys do you want to exclude I can put asterisk and you know I can add as many rules I want and then click Save and it's saved now if I refresh this page you'll see that it's grayed out meaning Vimium is now disabled all Vimium keys are disabled on this page and of course if I want to remove that I just click that and I can remove that and save the changes and now when I refresh page I have to refresh page because it's got to re-inject that JavaScript and it didn't seem to I don't know why let's remove the both those there we go I had to remove that empty one as well I put the asterisk maybe you don't have to put the asterisk maybe just having a blank thing disables it all I always had put the asterisk in there um so one more thing is you can again partially disable so if you want to disable certain keys which I have done if I go back to my page here and I go to one of my videos and I do J and it's going to open it up and I should disable this video so I don't get in trouble for watching a ad on my own video let's go ahead and pause that now Firefox YouTube has a bunch of keyboard commands that you may or may not know of to control the video for example F will make the video full screen and if you're watching a video and I have no clue what video this is so this is this is an ad so let's just go ahead and skip whatever this is you know let's let's do this I don't know who video this is let's just go to Luke Smith he has some good videos so that way we're watching at least given someone I know of you um so let's say I'm watching this video I can F on my keyboard and makes it full screen but you know at F normally in Vimium uh rings up links so I had to disable F on YouTube and if I I usually watch my videos at faster speed you can hit your greater than or less than uh symbols on your keyboard uh to speed up or slow down a video that way you don't have to go to the settings menu and go to speed and go to whatever uh you can do that with your keyboard so I have disabled those three keys and you see Vimium is now a half blue circle I'll click that and you can see I've disabled those three keys because those are the three keys that I use on YouTube although I very rarely watch videos on the YouTube page which is something I'm going to talk about in my next video different ways I watch YouTube videos um so that's it that's a quick look at Vimium quick look 15 minutes longer than I want it to be but check it out Vimium is an awesome awesome and if let's let's see if I click here can I go to thought maybe they had a link to their site let's go to Vimium let's go oh there here it is this why I wanted to see so github i o you can see that it's on here let's go to github page so you can get the source code if you want if you want to make modifications or add things to it you can do that because it is open source I am not 100 sure what license it's under oh MIT license so it's something not gpl or anything cool like that but anyway Vimium again I haven't tried it in Firefox but I did before recording this video I did Vimium Firefox and it does look like there's a Vimium FF and so it looks like I don't know if it's made by the same guy what's this guy's name here yeah same name so I'm assuming the same guy check it out Vimium sorry I was reading stuff on the page forgot that I was recording a video um check it out great great little tool if you are a keyboard person like me thanks for watching please visit again filmsbychrist.com that's chris at the k there you can search through all my videos from from this channel my second channel uh you can go to the about section read a little bit about me not very much uh software section you can go to find different bits of code I have and um you can also support me here with patreon which is patreon.com forward slash mail x1000 there's a link in the description of this video or you can also donate through paypal thanks for watching and I hope that you have a great day