Skip to content
Permalink
Browse files

Add tmux note

  • Loading branch information
KyleOndy committed Nov 15, 2019
1 parent 4452d1d commit 397170b346532103b3e65879d27e6ccbe47841c3
Showing with 24 additions and 0 deletions.
  1. +24 −0 provider/notes/tmux.markdown
@@ -0,0 +1,24 @@
---
title: tmux
updated: 2018-12-09T10:12:27Z
subtitle: Quick notes on common usages
tags: notes, tmux
---

My leader key combo in tmux is<kbd>ctrl</kbd>+<kbd>space</kbd>.

## Copy text in tmux

1) <kbd>ctrl</kbd>+<kbd>space</kbd>,<kbd>[</kbd> to enter copy mode
2) Move to text you would like copied
3) <kbd>ctrl</kbd>+<kbd>space</kbd> to start highlighting. Selected text highlights to show selection.
4) Move to end of text.
5) <kbd>enter</kbd> copies text into clipboard.
6) Do whatever
7) <kbd>ctrl</kbd>+<kbd>space</kbd>,<kbd>]</kbd> to paste contents.

## Handy shortcuts

* <kbd>ctrl</kbd>+<kbd>space</kbd>,<kbd>x</kbd> to kill window
* <kbd>ctrl</kbd>+<kbd>space</kbd>,<kbd>X</kbd> to kill window
* <kbd>ctrl</kbd>+<kbd>space</kbd>,<kbd>space</kbd> to iterate through window layouts

0 comments on commit 397170b

Please sign in to comment.
You can’t perform that action at this time.