Guest User

Untitled

a guest
May 26th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. MVIM Cheat Sheet:
  2.  
  3. * auto complete
  4. ctrl+n
  5. or
  6. ctrl+p
  7.  
  8. * Running Rake for test
  9. :Rake
  10.  
  11. * copy
  12. visual highlight
  13. y
  14.  
  15. * Current directory file browser
  16. E
  17.  
  18. * Replace current character
  19. r(replacement)
  20.  
  21. * Paste
  22. P or p
  23.  
  24. * Ruby syntax check:
  25. :! ruby -c %
  26.  
  27. * Remove multiple lines:
  28. shift+v … k/j/l/h … x
  29.  
  30. * Alternare files:
  31. :A
  32.  
  33. * List files in the buffer:
  34. :ls
  35.  
  36. * Navigating to a file in the buffer:
  37. :ls
  38. :b <buffer no.>
  39.  
  40. * Switching between screens
  41. ctrl-w w
  42.  
  43. * normalising screen sizes
  44. ctrl-w =
  45.  
  46. * Matching do … end…
  47. %
  48.  
  49. * Page up and down
  50. ctrl+u ctrl+d
  51.  
  52. * Formatting
  53. (highlight) then '='
  54.  
  55. * Horizontal split
  56. :sp
  57.  
  58. * Vertical split
  59. :vsp
  60.  
  61. * indent
  62. visual highlight
  63. shift+'>' (right)
  64. shift+'<' (left)
  65.  
  66. ==Fugitive (GIT plugin)
Add Comment
Please, Sign In to add comment