Skip to content

Instantly share code, notes, and snippets.

@EQuimper
Last active November 18, 2018 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EQuimper/583f4e9ac83b644e85f9fa1052d4f941 to your computer and use it in GitHub Desktop.
Save EQuimper/583f4e9ac83b644e85f9fa1052d4f941 to your computer and use it in GitHub Desktop.
Vim + Tmux Cheatsheet

Vim

Yank

:32y     Yank line 32
:32,45y  Yank line 32 to line 45

:+2y     Yank two lines after the current line
:-2y     Yank two lines before the current line
:-2,+2y  Two lines before the cursor and two lines after

Tmux

Pane

<C-a "> Split vertically
<C-a %> Split horizontally
<C-a x> Kill current pane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment