Skip to content

Instantly share code, notes, and snippets.

@aurora1625
Created December 8, 2020 01:51
Show Gist options
  • Save aurora1625/64b9cc35982b99e0b6189cfe9344a6d1 to your computer and use it in GitHub Desktop.
Save aurora1625/64b9cc35982b99e0b6189cfe9344a6d1 to your computer and use it in GitHub Desktop.
vim #vim
w Go to the beginning of next word
e Go to the end of current word
b Go to the beginning of previous word
0 Go to the starting of current line
$ Go to the end of current line
g_ Go to the last non blank character of current line
H Go to the first line of current screen.
L Go to the last line of current screen
gg Go to the top of the file
G Go to the bottom of the file
% Go to the matching character of the pair.
i Insert text at the current position
I Insert text at the beginning of the line
o Insert a new line after the current line and insert text
O Insert a new line before the current line and insert text
x Delete the current character
dw Delete the current word dj Delete the current line and next line
`noh` clear search highlight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment