You can use bind -n and the pane_mode format to do this, something like:
bind -n h if -F '#{==:#{pane_mode},tree-mode}' 'send Left' 'send h'
On Sun, Nov 04, 2018 at 10:08:33AM +0000, 'J.anderson_82' via tmux-users wrote:
> Hello,
> I am wondering if there is a way to bind keys (h and l) to be able to
> expand the sessions windows list in the session overview (prefix+s).
>
> I am using vi mode. When opening the session overview (prefix+s) I can
> move in the sessions list with j (down) and k (up) keys but to expand the
> windows list I have to use either right and left arrow keys or + and -
> keys. It would be much more convenient in vi mode to be able to use h and
> l keys.
>
> Is there a way to achieve this?
> Regards,
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.