My mouse stopped working. This is what i did.

Sivakumar R
3 min readFeb 6, 2021

Three days before, my mouse started to show a weird issue. If I click the left key, It was showing the right key options. Seriously I wasn’t drunk. That time I was testing one feature in the browser. The mouse made me angry. I handled the mouse like a baby who got a new toy. Nothing worked. Don’t ask me to use the mouse pad of the laptop. I hate it.

I explored shortcuts of firefox as much as I can. But the number was very less. The opening of a new tab, closing tab, etc. Then one name strike on my head. VIM. For most of the developers, vim is simple and powerful (i know it’s a cliche dialogue. No other way I can express it) editor. If you aren’t heard about VIM as a developer, you are late and start exploring it.

Vim is a file editor, in which you can control it with the keyboard. Fact is, while coding, usage of the mouse is time-consuming. You can move the cursor by h,j,k,l keys in a file. There are a lot of shortcuts, which will make coding easier. To become a master in VIM, need a lot of time. But if you reach there, you will have a superpower in coding. I am on a journey to reach there for the past 5 months. In Linux, the vimtutor tool will help you.

So coming back to our story, I searched for a vim-like plug-in for the browser. As expected I got one. Vimium. You will get for both firefox and chrome. Like vim editor, vimium will speed up your browsing. h,j,k,l keys are for scrolling left, down, up, right respectively. I will list out the most useful shortcuts providing by the vimium plug-in.

  1. ‘t’ for open a new tab instead Ctrl + t.
  2. ‘x’ — closing current tab instead of Ctrl + w.
  3. ‘J’ and ‘K’ — Go one tab left and right respectively.
  4. ‘f’ — visualizing key maps for each visible element.

If we click lowercase letter keys, that link will open in current tab. For open in new tab, use uppercase.

5. Like vim editor, ‘gg’ is for scrolling top of the page and ‘G’ is for bottom of the page.

6. ‘H’, ‘L’ are for going back and forward history respectively.

Here is the full list of short cuts.

The vimium plug-in is very effective for every desktop users if you spend some time to master it. Happy reading!

--

--

Sivakumar R

Self-taught developer 🚀 | Lifelong learner 📚 | Experimenting in life's laboratory 🔬 | Aspiring writer 📝