I used these lines. But they don't help.
When I type ctrl-a [ then ctrl-b, then use my mouse to highlight a
text region, the cursor will still be reset to the very bottom.
I use tmux 3.1b.
Could you try my configure file to see what is wrong? Thanks.
> Strange, that's not expected behavior.
>
> I have the following binding and it works like a charm (tmux 3.2):
> # Copy the current selection to a new buffer or start one if none is
> active.
> bind -T copy-mode 'Space' {
> if -F '#{||:#{selection_active},#{search_present}}' {
> send -X copy-pipe
> } {
> send -X begin-selection
> }
> }
> If you are referring to mouse support, this is what I'm using:
> # Avoid cancelling copy-mode if the pane history has been scrolled.
> bind -T copy-mode 'MouseDragEnd1Pane' {
> if -F "#{scroll_position}" {
> send -X copy-pipe
> } {
> send -X copy-pipe-and-cancel
> }
> }
--
Regards,
Peng
--
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 view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/CABrM6wku4SXXad0cZb237hZCZwgW-sLDj4ZjR77f03ZFSUZWdQ%40mail.gmail.com.