Skip to content

Instantly share code, notes, and snippets.

@fnzv
Created March 19, 2020 16:40
Show Gist options
  • Save fnzv/0f3190f093fefae5f1aea43baf546ee4 to your computer and use it in GitHub Desktop.
Save fnzv/0f3190f093fefae5f1aea43baf546ee4 to your computer and use it in GitHub Desktop.
Quick shortcuts for future reference :)
# Quitting VIM fastly
ESC + ZZ (equal to wq! if file name is already set)
# Quitting VIM fastly no saving
ESC + ZQ
# Split pane
Command + d (iTerm2 split pane vertically)
Command + D (iTerm2 split pane horizontally)
# Moving between panes
Command + [ or Command + ]
# Copying between panes
Enter vi copy mode: SHIFT + Command + c
Move the marker and press SPACE for selection
Command + C for copying
And pasting as usual with Command + v (on any other pane)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment