From f02ee029b77062510251054208f7ddc2b6469461 Mon Sep 17 00:00:00 2001 From: Steve Gambino Date: Thu, 31 Aug 2023 17:31:13 -0400 Subject: [PATCH] Update tmux - add copy/paste instructions - credit to blog https://www.rockyourcode.com/copy-and-paste-in-tmux/ --- tmux | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tmux b/tmux index 80a90a33..8ad6eb31 100644 --- a/tmux +++ b/tmux @@ -53,3 +53,9 @@ Ctrl-b " # To swap windows: Ctrl-b :swap-window -s [0-9] -t [0-9] + +# To copy/paste +1. Enter 'copy mode' by pressing CTRL+b, [. +2. Use the arrow keys to go to the position from where you want to start copying. Press CTRL+SPACE to start copying. +3. Use arrow keys to go to the end of text you want to copy. Press ALT+w or CTRL+w to copy into Tmux buffer. +4. Press CTRL+b, ] to paste in a possibly different Tmux pane/window. \ No newline at end of file