C-w C-w [file]split horizontally; open[file]C-z: put Vim in the backgroundfg: put in foreground again[n]dd: delete[n]lines (ndefaults to 1) (and store in clipboard)O: insert line before current line and enter insert modeo: Same, but after current:wsave%s/old/new/g: replace all occurrences ofoldwithnew
Last active
December 6, 2016 13:52
-
-
Save vegarsti/3bf49297be1b6e5f12691dd5471faf3a to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment