Created
September 6, 2024 08:52
-
-
Save audreyfeldroy/df764e2b1b787bb48f8def1a5263b4c7 to your computer and use it in GitHub Desktop.
Vim mappings, normal mode, alphabetical order
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A - Append text at the end of the line | |
B - Move back to the beginning of a word | |
C - Change to the end of the line | |
D - Delete to the end of the line | |
E - Move to the end of a word | |
F - Find the next occurrence of a character | |
G - Go to the last line of the document | |
H - Move to the top of the screen | |
I - Insert text at the beginning of the line | |
J - Join the current line with the next line | |
K - Look up keyword under cursor | |
L - Move to the bottom of the screen | |
M - Move to the middle of the screen | |
N - Repeat the last search in the opposite direction | |
O - Open a new line above the current line | |
P - Paste before the cursor | |
Q - Enter Ex mode | |
R - Replace mode | |
S - Substitute entire line | |
T - Till (move before the next occurrence of a character) | |
U - Undo the last change on a line | |
V - Start visual mode per line | |
W - Move forward to the beginning of a word | |
X - Delete character before the cursor | |
Y - Yank (copy) the current line | |
ZZ - Write (save) the file and quit | |
ZQ - Quit without checking for changes | |
[ - Various commands (like '[c' for previous diff change) | |
] - Various commands (like ']c' for next diff change) | |
^ - Move to first non-blank character of the line | |
_ - Move to first non-blank character of the line (can take a count) | |
` - Jump to a mark | |
a - Append text after the cursor | |
b - Move back to the beginning of a word | |
c - Change operator | |
d - Delete operator | |
e - Move to the end of a word | |
f - Find the next occurrence of a character | |
g - Various commands (like 'gg' to go to the first line) | |
h - Move left | |
i - Insert text before the cursor | |
j - Move down | |
k - Move up | |
l - Move right | |
m - Set a mark | |
n - Repeat the last search | |
o - Open a new line below the current line | |
p - Paste after the cursor | |
q - Record a macro | |
r - Replace a single character | |
s - Substitute a single character | |
t - Till (move before the next occurrence of a character) | |
u - Undo | |
v - Start visual mode | |
w - Move forward to the beginning of a word | |
x - Delete character under the cursor | |
y - Yank (copy) operator | |
z - Various commands (like 'zz' to center the screen) | |
{ - Move to the previous paragraph | |
| - Move to a specific column | |
} - Move to the next paragraph | |
~ - Switch case of the character under the cursor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment