In tmux, i know we can chain multiple commands to a key by using \; See Here But in vi mode, i want one single key press to go to the beginning of the current line, begin-selection, go to end-of-line, copy-selection.
In tmux.conf if i give the following
bind-key -t vi-copy 's' start-of-line \; begin-selection \; end-of-line \; copy-selection \;
It gives me this
: 69: usage: bind-key [-cnr] [-t key-table] key command [arguments] error.
Or is there any alternative way to yank the current line in single key.