Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Motions
- ## Basics
- ```
- H move to top of screen
- M move to middle of screen
- L move to bottom of screen
- w jump forwards to the start of a word
- W jump forwards to the start of a word (words can contain punctuation)
- e jump forwards to the end of a word
- E jump forwards to the end of a word (words can contain punctuation)
- b jump backwards to the start of a word
- B jump backwards to the start of a word (words can contain punctuation)
- 0 jump to the start of the line
- ^ jump to the first non blank character of the line
- $ jump to the end of the line
- g_ jump to the last non blank character of the line
- gg go to the first line of the document
- G go to the last line of the document
- 5G go to line 5
- fx jump to next occurrence of character x
- tx jump to before next occurrence of character x
- } jump to next paragraph (or function/block, when editing code)
- { jump to previous paragraph (or function/block, when editing code)
- Ctrl + b move back one full screen
- Ctrl + f move forward one full screen
- Ctrl + d move forward 1/2 a screen
- Ctrl + u move back 1/2 a screen
- ```
- ## vim-easymotion
- ```
- <leader>s{char}{char}{target} move anywhere
- <leader>j move down
- <leader>k move up
- ```
- ## vim-signature
- ```
- mx Toggle mark 'x' and display it in the leftmost column
- dmx Remove mark 'x' where x is a-zA-Z
- m, Place the next available mark
- m. If no mark on line, place the next available mark. Otherwise, remove (first) existing mark.
- m- Delete all marks from the current line
- m<Space> Delete all marks from the current buffer
- ]` Jump to next mark
- [` Jump to prev mark
- ]' Jump to start of next line containing a mark
- [' Jump to start of prev line containing a mark
- `] Jump by alphabetical order to next mark
- `[ Jump by alphabetical order to prev mark
- '] Jump by alphabetical order to start of next line having a mark
- '[ Jump by alphabetical order to start of prev line having a mark
- m/ Open location list and display marks from current buffer
- m[0-9] Toggle the corresponding marker !@#$%^&*()
- m<S-[0-9]> Remove all markers of the same type
- ]- Jump to next line having a marker of the same type
- [- Jump to prev line having a marker of the same type
- ]= Jump to next line having a marker of any type
- [= Jump to prev line having a marker of any type
- m? Open location list and display markers from current buffer
- m<BS> Remove all markers
- ```
Add Comment
Please, Sign In to add comment