Created
March 29, 2014 05:00
-
-
Save ekiara/9848785 to your computer and use it in GitHub Desktop.
Copy and Paste Buffers in TMUX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### http://awhan.wordpress.com/2010/06/20/copy-paste-in-tmux/ | |
#### emacs style copy in tmux | |
1) enter copy mode using Control+b [ | |
2) navigate to beginning of text, you want to select and hit Control+Space | |
3) move around using arrow keys to select region | |
4) when you reach end of region simply hit Alt+w to copy the region | |
5) now Control+b ] will paste the selection | |
#### vim/vi style copy in tmux | |
#### setw -g mode-keys vi | |
1) enter copy mode using Control+b [ | |
2) navigate to beginning of text, you want to select and hit Space | |
3) move around using arrow keys to select region | |
4) when you reach end of region simply hit Enter to copy the region | |
5) now Control+b ] will paste the selection | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment