Small knowledge, big challenge! This paper is participating in theEssentials for programmers”Creative activities.

This article also participated in the “Digitalstar Project” to win a creative gift package and creative incentive money

Vimium

The name of this plugin is related to Vim, as we all know, Vim is a very powerful editor, after skilled use, we are out of the comfort of the mouse, let our operation flow smoothly.

The same goes for chrome, which allows you to scroll, select text, and switch tabs without using the mouse.

state

The plug-in has two states: available and unavailable. Normal pages are available, but Vimium is unavailable in some pages of Chrome, such as extensions, downloaded content, history, and opened new tabs.

model

Like Vim, the plug-in can be in three modes: normal mode, insert mode, and visual mode.

Normal mode

This is the most classic way vim moves, including

  • J Scroll down the page
  • K Scroll up the page
  • H Scroll to the left
  • L Scroll the page to the right

Of course there are other common ones

  • Gg scroll to top of page
  • G Scroll to the bottom of the page
  • D scroll down half of the page, which has the same effect as J, but with more scrolling (half of the page)
  • U scrolls up half the page, which has the same effect as K, but the screen scrolls more (half the page).

This is all the shortcut keys, when we have forgotten, we just press “?” on any active page. You can open this panel.

Let’s pick some of the ones I use a lot

  • R Reload the page (refresh the page)
  • F Opens the specified link in the current TAB. As shown in the picture below, after pressing F, a letter or letter combination will appear on the link. Just press the corresponding letter or letter combination to open the corresponding link on the current TAB page. It’s very convenient and very cool. To open on a new page, press a capital F.

  • O: Open links, bookmarks, and history in the current TAB. As shown in the picture below, press O to Enter the keyword and you can see the qualified history records, bookmarks and other results. You can select the item through the up and down arrow and press Enter to open the selected item on the current TAB page. To open a new page, press the capital O line.

To find the

This is similar to Vim, we just press/on the current page. And then you just type in the keyword, and then the next one is n, and the last one is N.

This is also a very useful skill, so just upload a GIF.

TAB page operation

This is also a high frequency operation, we usually open multiple tabs at the same time, when these tabs are switched, the efficiency of clicking around with the mouse is really low.

  • J,gT Jumps to the previous (left) TAB
  • K,gt Jumps to the next (right) TAB
  • G0 jumps to the first TAB
  • G $: Jumps to the last TAB
  • ^ Jumps to the last accessed TAB page
  • Yt opens the current page in the new TAB (equivalent to copying the current page to the new TAB)
  • T Open a new TAB
  • X Closes the current TAB
  • X reopens the last closed TAB

conclusion

The plugin is so powerful that I’ve had to install it everywhere I go for years.

It also has many other functions, you can explore it on your own.