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: > > # 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 mode-keys > option, or a custom key binding that overrides the default one, ie. > > bind-key -t vi-copy h history-top > > It seems like there?s nothing similar to "tmux history-top -t $target_pane?.. > and I was wondering if there?s any way to achieve this result right now. > > Thanks for your help! :) > > Stefano > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users