You can mix percol and tmux commands.
(I am still not sure if this is what you need.)
Here is what I have:
# switch to another session by name
bind S split-window "tmux ls | percol --initial-index `tmux ls | awk
'/attached.$/ {print NR-1}'` | cut -d':' -f 1 | xargs tmux switch-client -t"
# switch to ANY window in ANY session by name
bind s split-window "tmux ls | cut -d: -f1 | xargs -I SESSION tmux lsw -F
'SESSION:#{window_name}' -t SESSION | percol --initial-index `tmux ls | cut
-d: -f1 | xargs -I SESSION tmux lsw -F
'___#{session_attached}#{window_active}___' -t SESSION | awk '/___11___/
{print NR-1}'` | xargs tmux switch-client -t"
# switch to another window by name
bind W split-window "tmux lsw | percol --initial-index `tmux lsw | awk
'/active.$/ {print NR-1}'` | cut -d':' -f 1 | xargs tmux select-window -t"
On Thu, Sep 15, 2016 at 5:16 PM latpat lat <[email protected]> wrote:
> Interesting tools however this isn't what I am looking for. Specifically,
> I am interested to customize tmux to get fly out similar to window list or
> buffer list. A shortcut which gives list & just select and paste it to cmd
> line. Exact buffer like menu but should be user defined.
>
> On Thu, Sep 15, 2016 at 3:56 PM, Kaushal Modi <[email protected]>
> wrote:
>
>> There are many tools available that do that..
>>
>> Few I can think of:
>>
>> 1. https://github.com/mooz/percol
>> 2. http://tools.suckless.org/dmenu/
>>
>> Those have nothing to do with tmux though.
>>
>> On Thu, Sep 15, 2016 at 4:52 PM latpat lat <[email protected]> wrote:
>>
>>> does anyone know if below is possible in tmux?
>>>
>>>
>>> http://superuser.com/questions/1124543/is-it-possible-to-create-custom-buffer-like-functionality-in-tmux
>>>
>>> Thanks,
>>> P. Patel
>>>
>>> --
>>> 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.
>>>
>> --
>>
>> Kaushal Modi
>>
>
> --
Kaushal Modi
--
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.