Skip to content

Instantly share code, notes, and snippets.

@theWhiteFox
Created May 13, 2016 14:13
Show Gist options
  • Select an option

  • Save theWhiteFox/1cbb27eae38ccb806b4cc14664c0bd7b to your computer and use it in GitHub Desktop.

Select an option

Save theWhiteFox/1cbb27eae38ccb806b4cc14664c0bd7b to your computer and use it in GitHub Desktop.
Type vimtutor into terminal for a “how to” guide
Try playing VIM Adventures, search for it in Google
Helpful Link
http://www.cs.colostate.edu/helpdocs/vi.html
:q - Quit Editing
:q! - Quit without questioning it
*u - Undo/redo
dw - deletes word starting with the letter where the cursor sits
*o - add new line and enter text
:w - save file
I - Add text to the start of a line
R - Replace text after cursor
x - to remove unwanted characters
i -
Cat <followed by filename - shows the contents of a text file
Chmod +x <filename> - makes the filename executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment