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
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ 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