Skip to content

Instantly share code, notes, and snippets.

@ccdle12
Last active August 5, 2019 11:19
Show Gist options
  • Save ccdle12/cb165c64a2823ef5c3142008ff208717 to your computer and use it in GitHub Desktop.
Save ccdle12/cb165c64a2823ef5c3142008ff208717 to your computer and use it in GitHub Desktop.
A Cheat Sheet on Vim Commands

VIM

VIM Cheat Sheet which may include some NERDTREE shortcuts, will ensure that NT is identified before the command is explained.

Opening and Closing Files

Open file in a new tab

Highlight the file:

$ t

Open a file in a split horizontal tab

Highlight the file:

$ I

Switch between tabs

Switching consecutively open tabs:

$ gt (forward)
$ Gt (back)

Switch between tabs via a list (prefferred):

:W
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment