Re: Send copy-mode commands by name

2014-04-19 Thread Nicholas Marriott
No send-keys is the way at the moment, if you want to be sure what keys then set mode-keys for the window first. On Sat, Apr 19, 2014 at 10:54:51AM +0200, Stefano Verna wrote: > Given tmux mode-keys is set to vi, this is how I can enter copy mode and > scroll to the top of the buffer history: >

Send copy-mode commands by name

2014-04-19 Thread Stefano Verna
Given tmux mode-keys is set to vi, this is how I can enter copy mode and scroll to the top of the buffer history: # Enter copy mode tmux copy-mode -t $target_pane # Go to the top of buffer history tmux send-keys -t $target_pane g I’d like to generalise the last line to work despite the current