Vim
Run a command in the shell from vim
:! command argument
Useful Keybindings
:! - Run a terminal command from within vim
40G - Go to line number 40
12k - Move twelve lines up
daw - Delete a word
das - Delete a sentence.
:!read - Read an external file into the current file under the cursor.
m<letter> - create mark
<backtick><letter> - go to previously created mark
Moving around
f - Find an instance of a character on a line. (Forwards) F - Find an instance of a character on a line. (Backwards)
Cool tips
By selecting text in visual mode, you can run a terminal command on that selection as input, with the output being put back into the current buffer.