Short answer: space starts selection and enter copies.
For future reference, I got this from the tmux man page:
Function vi emacs
Back to indentation ^ M-m
Clear selection Escape C-g
Copy selection Enter M-w
Cursor down j Down
Cursor left h Left
Cursor right l Right
Cursor to bottom line L
Cursor to middle line M M-r
Cursor to top line H M-R
Cursor up k Up
Delete entire line d C-u
Delete to end of line D C-k
End of line $ C-e
Goto line : g
Half page down C-d M-Down
Half page up C-u M-Up
Next page C-f Page down
Next word w M-f
Paste buffer p C-y
Previous page C-b Page up
Previous word b M-b
Quit mode q Escape
Scroll down C-Down or J C-Down
Scroll up C-Up or K C-Up
Search again n n
Search backward ? C-r
Search forward / C-s
Start of line 0 C-a
Start selection Space C-Space
Transpose chars C-t
Update: The tmux list-keys
command will also list any custom key bindings you have.
1This should be the answer. It could be improved by explaining entering/leaving copy mode. – mcsilvio – 2015-03-25T01:19:43.617
2Great, brief answer. Just a note to fellow vi[m] neophytes: If you're using a modal editor or command line, you're going to want to make sure you're in insert mode before attempting to paste using the aformentioned
Ctrl+b+]
. Obvious in retrospect, but sent me back and forth a few times until I cottoned on. – J.M. Janzen – 2016-08-07T19:32:06.447I think the formatting and conciseness would be an awesome replacement for the the "short answer" section in my answer. Is there a way to combine answers that gives credit where credit is due? – bluehavana – 2017-10-28T21:45:55.153
hmm... thinking further, I guess two answers are more appropriate, would just like to have this above the fold somehow. – bluehavana – 2017-10-28T21:53:47.660