Hi You would need to add a command to window-copy.c and a key binding to key-bindings.c like the others. I'm not sure how this would be different from the existing middle-line command though?
On Sat, 9 Nov 2024, 17:46 Ziv Kaplan, <zivkap...@gmail.com> wrote: > Hi, > > First of all, thanks so much for tmux — I use it every day, and it is > absolutely amazing! > > I wanted to enter into the open source world and I thought contributing to > tmux, my favorite tool. > Going over the Github repo, I saw issue 3159 > <https://github.com/tmux/tmux/issues/3159> about centering the cursor > vertically in copy mode, and I’d love to tackle it. Could you point me in > the right direction for where I could add this feature in the code? Any > advice or hooks would be really helpful. > > Thanks again for everything you do! > > Best, > Ziv Kaplan, > Israel > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion, visit > https://groups.google.com/d/msgid/tmux-users/CAN%2BdaCHy_CR3BUz2yCNgkS%2Buw0vSHr6rbg8B90mOG4T0q2_inw%40mail.gmail.com > <https://groups.google.com/d/msgid/tmux-users/CAN%2BdaCHy_CR3BUz2yCNgkS%2Buw0vSHr6rbg8B90mOG4T0q2_inw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcFROEmQNnz6dQyA3aSYa5eDNRYCVpZ%3DTNKXG92g_JV6_Q%40mail.gmail.com.