https://medium.com/@kevinpmcc/ditching-the-mouse-getting-started-with-vimium-chrome-extension-f45c61d6bc53
https://medium.com/@xnicox/10x-your-chrome-browsing-productivity-with-vimium-3ab733b0854a
https://gist.github.com/politicus/f7f13c493a46777fa08b
https://github.com/philc/vimium
map key command
: Maps a key to a Vimium command. Overrides Chrome's default behavior (if any).unmap key
: Unmaps a key and restores Chrome's default behavior (if any).unmapAll
: Unmaps all bindings. This is useful if you want to completely wipe Vimium's defaults and start from scratch with your own setup.
https://superuser.com/questions/692960/how-to-disable-auto-input-focus-in-vimium
https://github.com/philc/vimium/wiki/Disabling-Vimium
There's an option called "Don't let pages steal the focus on load" in the advanced options that should do this.
https://github.com/philc/vimium/wiki/Disabling-Vimium
If the list of excluded keys is empty, then Vimium is wholly disabled; for example:
Then p/P. (
p
is to paste the current string in clipboard to do a navigation if is an URL, otherwise do a search using the configured search engine. Uppercase P
is to paste in a new tab)
https://github.com/philc/vimium/issues/3035
map R reload hard
https://medium.com/productivity-freak/avoiding-productivity-mousetraps-177d80fa533b
Bookmarks search ( Shortcut : B)
https://github.com/philc/vimium/issues/502
https://github.com/philc/vimium/wiki/Find-Mode
To search, first press
https://github.com/philc/vimium/issues/591
https://github.com/philc/vimium/issues/508
`gi` + <Tab> to move through input boxes
https://github.com/philc/vimium/issues/2149
Alt/meta key no longer workingSeems like if I map
https://github.com/philc/vimium/issues/2402
https://webapps.stackexchange.com/questions/100869/keyboard-shortcut-to-close-the-ads-on-youtube
https://greasyfork.org/en/scripts/37654-popup-blocker-script
Vimium
- type
v
- type
/
to search for the email - select the email using
w
or something like that - hit
y
to yank the text
https://github.com/philc/vimium/wiki/Tips-and-TricksExiting visual mode:
Esc
- just exit visual mode
y
- yank the selected text to the clipboard
p
/P
- send the selected text to the default search engine
map R reload hard
map X createTab http://www.bbc.com/news
map X createTab window
map X createTab incognito
map X createTab window http://www.bbc.com/news https://twitter.com/
map d scrollDown count=5
With such a mapping (and with smooth scrolling),
d
-and-hold gives a faster scroll than j
-and-hold.
The following open multiple links in new tabs, switching to each as it is created:
map qf LinkHints.activateModeToOpenInNewForegroundTab count=999999
https://medium.com/productivity-freak/avoiding-productivity-mousetraps-177d80fa533b
Bookmarks search ( Shortcut : B)
https://github.com/philc/vimium/issues/502
Have you tried enabling the "Allow access to file URLs" checkbox in the Options -> Extensions list?
However be noted that PDF pages will still not work since PDF viewer itself is sort of an extension, and Chrome doesn't allow extensions running on extensions.
- j/k: Scroll down/up
- h/l: Scroll right/left
- gg (in succession): Jump back to the top of a page
- G (note the capital): Jump to the bottom of a page
- d/u: Scroll a half page down/up
- J/K: Switch tabs left/right
- /: Enter "find" mode (type in search terms to instantly jump to them)
- n/N: Jump forward/back between occurrences of search term (after pressing "/")
- yy: Copy the current page's URL to your clipboard.
- use
v
to enter visual mode - use
V
to enter visual line mode - Visual mode implements a number of vim-like movements,
j
,k
,h
,l
,w
,e
,b
, etc. Counts are also supported, for example3e
.
Caret mode is used for changing the starting point for selecting text on the page
- use
c
to enter caret mode from visual mode (orv
followed byc
from normal mode) - If there is no existing selection when entering visual mode, then Vimium first enters caret mode. In caret mode, you can position the caret before entering visual-mode proper with
v
. v
andc
can be used to move back and forward between visual and caret modes.
Exiting visual mode:
Esc
- just exit visual modey
- yank the selected text to the clipboardp
/P
- send the selected text to the default search engine
- In visual mode,
o
swaps the anchor and the focus, so you can also move the "other end" of the selection. - A good way to find the starting point for your selection is to to use Find mode to jump to your desired starting location on the page.
To search, first press
/
then the search expression followed by <Enter>
. You can alternate between the matches by typing n
to go forward and <Shift-n>
to go back.- Find queries are global and persistent -- if you search for 'test' in one tab, pressing
n
on any other tab will search for 'test' as well. - If your search matches the contents of an input whose contents you wish to modify, press
<Esc>
to enter insert mode and begin editing. - Find queries have a history. Use
<Up>
and<Down>
to re-use previous queries.
- Case-sensitivity and RegExps
- Find mode uses smartcase -- it defaults to a case-insensitive search if you use only lower-case characters, but switches to case-sensitive mode upon detecting upper-case letters. Hence
/test
is case-insensitive, and/Test
is case-sensitive. - The
\r
escape sequence ensures that the search string gets treated like a Javascript regular expression, so/t.st\r
matches 'test', 'tast', 'tost', etc. Case-sensitivity behaves the same way for regular expressions --./t.st\r
will match 'TosT', but/t.st\r\I
will only match 'tast', 'tost', etc- Blackslashes themselves can be escaped, so
/test\\
will match 'test\'.
https://github.com/philc/vimium/issues/508
`gi` + <Tab> to move through input boxes
https://github.com/philc/vimium/issues/2149
Alt/meta key no longer workingSeems like if I map
π
(the character that's entered when I press <a-p>
on a Mac) to togglePinTab
, it works again.unmap <a-p>
map <a-π> togglePinTab
map <a-ƒ> LinkHints.activateModeWithQueue
https://github.com/philc/vimium/issues/2161unmap <a-p>
map π togglePinTap
https://github.com/philc/vimium/issues/2402
Add count prefix before hitting
For example, 3 then F allows you to open three links in new tabs at once.
f
/F
.For example, 3 then F allows you to open three links in new tabs at once.
Alternatively you can use Alt+f to open indefinite links in new tabs, but you have to manually cancel with Esc (or any key sans Space that is not in your preferred link hint characters list in the Vimium settings) in this mode.
https://webapps.stackexchange.com/questions/100869/keyboard-shortcut-to-close-the-ads-on-youtube
- The keyboard shortcut to skip the ad at the beginning of a video is Tab and then Enter.
- There is no keyboard shortcut to skip ads in the middle of the video.
- Install Greasemonkey for Firefox/Tampermonkey for Chrome and then install the "Auto Close YouTube Ads" script
Vimium
Go the the Vimium options page.
Click Show cr commands.