Cheatography
https://cheatography.com
Google Chrome Vim extension
Navigating the current page
? |
Show the help dialog for a listing of all available keys |
h |
Scroll left |
j |
Scroll down |
k |
Scroll up |
l |
Scroll right |
gg |
Scroll to top of the page |
G |
Scroll to bottom of the page |
d |
Scroll down half a page |
u |
Scroll up half a page |
f |
Open a link in the current tab |
F |
Open a link in a new tab |
r |
Reload |
gs |
View source |
i |
Enter insert mode -- all commands will be ignored until you hit Esc to exit |
yy |
Copy the current URL to the clipboard |
yf |
Copy a link URL to the clipboard |
gf |
Cycle forward to the next frame |
gF |
Focus the main/top frame |
Navigating to new pages
o |
Open URL, bookmark, or history entry |
O |
Open URL, bookmark, or history entry in a new tab |
b |
Open bookmark |
B |
Open bookmark in a new tab |
|
|
Manipulating tabs
J, gT |
Go one tab left |
K, gt |
Go one tab right |
g0 |
Go to the first tab |
g$ |
Go to the last tab |
^ |
Visit the previously-visited tab |
t |
Create tab |
yt |
Duplicate current tab |
x |
Close current tab |
X |
Restore closed tab (i.e. unwind the 'x' command) |
<a-p> |
Pin/unpin current tab |
Using find
/ |
Enter find mode -- type your search query and hit enter to search, or Esc to cancel |
n |
Cycle forward to the next find match |
N |
cycle backward to the previous find match |
Navigating your history
H |
go back in history |
L |
go forward in history |
|
|
Using marks
ma, mA |
Set local mark "a" (global mark "A") |
`a, `A |
Jump to local mark "a" (global mark "A") |
`` |
Jump back to the position before the previous jump -- that is, before the previous gg, G, n, N, / or `a |
Additional advanced browsing commands
]], [[ |
Follow the link labeled 'next' or '>' ('previous' or '<') - helpful for browsing paginated sites |
<a-f> |
Open multiple links in a new window |
gi |
Focus the first (or n-th) text input box on the page |
gu |
Go up one level in the URL hierarchy |
gU |
Go to root of the URL hierarchy |
ge |
Edit the current URL |
gE |
Edit the current URL and open in a new tab |
zH |
Scroll all the way left |
zL |
Scroll all the way right |
v |
enter visual mode: use p/P to paste-and-go, use y to yank |
V |
Enter visual line mode |
|
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Photon