That would work if there is a way to return to that line number later 
(something like "goto-cursor-y"). The only thing I know about is goto-line, 
which seems to reference a line numbering system different than 
copy_cursor_y (on my computer, it seems to reference the hidden lines that 
do not appear on the screen).

On Sunday, December 15, 2024 at 1:48:51 AM UTC-5 Nicholas Marriott wrote:

> How about copy_cursor_y?
>
> On Sun, 15 Dec 2024, 06:43 Trevor Avant, <trevo...@gmail.com> wrote:
>
>> I would like to get the line number the cursor is on. I believe that tmux 
>> keeps track of this information as it has the goto-line function. 
>> Ultimately I would like to use this information to get the line number 
>> after a search-backward command, or get the line number after 
>> double-clicking the line. 
>>
>> -- 
>> 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.
>> To view this discussion, visit 
>> https://groups.google.com/d/msgid/tmux-users/10adf3fd-8323-41ab-bd72-8e4274c46b10n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tmux-users/10adf3fd-8323-41ab-bd72-8e4274c46b10n%40googlegroups.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/c1711584-4ccf-4f2d-91a1-6af014affe3bn%40googlegroups.com.

Reply via email to