Guest User

Untitled

a guest
Oct 21st, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. # Motions
  2.  
  3. ## Basics
  4.  
  5. ```
  6. H move to top of screen
  7. M move to middle of screen
  8. L move to bottom of screen
  9. w jump forwards to the start of a word
  10. W jump forwards to the start of a word (words can contain punctuation)
  11. e jump forwards to the end of a word
  12. E jump forwards to the end of a word (words can contain punctuation)
  13. b jump backwards to the start of a word
  14. B jump backwards to the start of a word (words can contain punctuation)
  15. 0 jump to the start of the line
  16. ^ jump to the first non blank character of the line
  17. $ jump to the end of the line
  18. g_ jump to the last non blank character of the line
  19. gg go to the first line of the document
  20. G go to the last line of the document
  21. 5G go to line 5
  22. fx jump to next occurrence of character x
  23. tx jump to before next occurrence of character x
  24. } jump to next paragraph (or function/block, when editing code)
  25. { jump to previous paragraph (or function/block, when editing code)
  26. Ctrl + b move back one full screen
  27. Ctrl + f move forward one full screen
  28. Ctrl + d move forward 1/2 a screen
  29. Ctrl + u move back 1/2 a screen
  30. ```
  31.  
  32. ## vim-easymotion
  33.  
  34. ```
  35. <leader>s{char}{char}{target} move anywhere
  36. <leader>j move down
  37. <leader>k move up
  38. ```
  39. ## vim-signature
  40.  
  41. ```
  42. mx Toggle mark 'x' and display it in the leftmost column
  43. dmx Remove mark 'x' where x is a-zA-Z
  44.  
  45. m, Place the next available mark
  46. m. If no mark on line, place the next available mark. Otherwise, remove (first) existing mark.
  47. m- Delete all marks from the current line
  48. m<Space> Delete all marks from the current buffer
  49. ]` Jump to next mark
  50. [` Jump to prev mark
  51. ]' Jump to start of next line containing a mark
  52. [' Jump to start of prev line containing a mark
  53. `] Jump by alphabetical order to next mark
  54. `[ Jump by alphabetical order to prev mark
  55. '] Jump by alphabetical order to start of next line having a mark
  56. '[ Jump by alphabetical order to start of prev line having a mark
  57. m/ Open location list and display marks from current buffer
  58.  
  59. m[0-9] Toggle the corresponding marker !@#$%^&*()
  60. m<S-[0-9]> Remove all markers of the same type
  61. ]- Jump to next line having a marker of the same type
  62. [- Jump to prev line having a marker of the same type
  63. ]= Jump to next line having a marker of any type
  64. [= Jump to prev line having a marker of any type
  65. m? Open location list and display markers from current buffer
  66. m<BS> Remove all markers
  67. ```
Add Comment
Please, Sign In to add comment