Skip to content

Instantly share code, notes, and snippets.

@mengjiann
Last active March 29, 2019 02:04
Show Gist options
  • Save mengjiann/2db6323f8680cb98f0374bd9a363c95b to your computer and use it in GitHub Desktop.
Save mengjiann/2db6323f8680cb98f0374bd9a363c95b to your computer and use it in GitHub Desktop.
VIM command
Under normal mode
- daw - delete a word
- caw - delete a word and enter into edit mode.
Navigate
- b - previous word
- w - next word
- Ctrl+b - previous page
- Ctrl+f - next page
Entering insert
- I - beginning of the line
- A - end of the line
Delete under insert mode
- Ctrl+w - delete the word before cursor
- Ctrl+u - delete line before cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment