-
-
Save mconnell/429824 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MVIM Cheat Sheet: | |
* auto complete | |
ctrl+n | |
or | |
ctrl+p | |
* Running Rake for test | |
:Rake | |
* copy | |
visual highlight | |
y | |
* Current directory file browser | |
E | |
* Replace current character | |
r(replacement) | |
* Paste | |
P or p | |
* Ruby syntax check: | |
:! ruby -c % | |
* Remove multiple lines: | |
shift+v … k/j/l/h … x | |
* Alternare files: | |
:A | |
* List files in the buffer: | |
:ls | |
* Navigating to a file in the buffer: | |
:ls | |
:b <buffer no.> | |
* Switching between screens | |
ctrl-w w | |
* normalising screen sizes | |
ctrl-w = | |
* Matching do … end… | |
% | |
* Page up and down | |
ctrl+u ctrl+d | |
* Formatting | |
(highlight) then '=' | |
* Horizontal split | |
:sp | |
* Vertical split | |
:vsp | |
* indent | |
visual highlight | |
shift+'>' (right) | |
shift+'<' (left) | |
==Fugitive (GIT plugin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment