If I decide to keep my custom behaviour, I have the code now and can always compile my own custom tmux.
If no one else is interested, that's fine with me, I just wanted to offer my patch in the spirit of FOSS.
Keep up the good work!
Cheers,
Tobias
Gesendet: Mittwoch, 09. Juni 2021 um 15:44 Uhr
Betreff: Re: Re: Tmux hacking startingpoint?
Hi
I would prefer to avoid config options for trivial behaviour changes that realistically only one or two people are going to use.
You should be able to write a shell script to implement the behaviour you want and then bind it to the keys with run-shell. If that turns out to need any format variables that do not currently exist then we could add them.
On Wed, 9 Jun 2021 at 14:30, Tobias Damisch <
tobias_...@gmx.at[mailto:
tobias_...@gmx.at]> wrote:Thanks for the tip, I did execute the right binary but still the server of my other running tmux was used.
Got it working now, implemented the desired behaviour in a quick-and-dirty fashion - and now I am not sure if I even like it.
Guess I have to use it for some time to see how I feel about it when I get used to it.
What about making this a config option, and defaulting it to current behaviour?
Cheers,
Tobias
Gesendet: Mittwoch, 09. Juni 2021 um 07:58 Uhr
Von: "Nicholas Marriott" <
nicholas...@gmail.com[mailto:
nicholas...@gmail.com]>
An: "Tobias Damisch" <
tobias_...@gmx.at[mailto:
tobias_...@gmx.at]>
Cc: "tmux-users" <
tmux-...@googlegroups.com[mailto:
tmux-...@googlegroups.com]>
Betreff: Re: Tmux hacking startingpoint?
Look at cmd-select-pane.c, window_pane_find_up is definitely called when you do selectp -U. Are you sure you ran the right tmux binary with your logging?
But you should note that it is unlikely this behaviour will be changed again, see 540f0b3e45acae9b0c5fa12f7e9170c6c78d177f.
--
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
tmux-users+...@googlegroups.com[mailto:
tmux-users%2Bunsu...@googlegroups.com].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/trinity-9a0ddd75-10fe-4c7e-b705-1167a86e5b69-1623245398542%403c-app-gmx-bs39[https://groups.google.com/d/msgid/tmux-users/trinity-9a0ddd75-10fe-4c7e-b705-1167a86e5b69-1623245398542%403c-app-gmx-bs39].
--
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
tmux-users+...@googlegroups.com[mailto:
tmux-users+...@googlegroups.com].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/tmux-users/CAEdLfcH91PoMmQXzFFH7LCqV7my_%2B%3DCpM5nNBS51-XxRP-9nWA%40mail.gmail.com[https://groups.google.com/d/msgid/tmux-users/CAEdLfcH91PoMmQXzFFH7LCqV7my_%2B%3DCpM5nNBS51-XxRP-9nWA%40mail.gmail.com?utm_medium=email&utm_source=footer].