Using command history and zooming

18 views
Skip to first unread message

Sivaram Neelakantan

unread,
Sep 10, 2020, 10:45:08 AM9/10/20
to tmux-...@googlegroups.com
I have the following in .conf based on the man page example

# use command-prompt -p to add a string to prompt for a topic; map to
# F1 key
bind-key -N "Display man page for prompted topic" F1 command-prompt -p "Enter man topic:" "split-window 'exec man %%'"

Is there a way to get it as a zoomed pane? I tried with -fhv flags to the
split-window but that isn't quite good enough.

Also, is there a way to get the prompt to use the last text entry from
history, instead of having to hit the up arrow key to get the last
entry. Usually, the F1 invocation would be the same man page for
sometime.

sivaram
--

Nicholas Marriott

unread,
Sep 12, 2020, 3:12:32 AM9/12/20
to Sivaram Neelakantan, tmux-users
split-window 'man %%' ; resize-pane -Z



--
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 on the web, visit https://groups.google.com/d/msgid/tmux-users/krpqx3k0x1k7x1.fsf%40gmail.com.

Sivaram Neelakantan

unread,
Sep 12, 2020, 11:37:45 AM9/12/20
to tmux-...@googlegroups.com
On Sat, Sep 12 2020,Nicholas Marriott wrote:

> split-window 'man %%' ; resize-pane -Z

Thank you, that worked.

[snipped 15 lines]



sivaram
--

Reply all
Reply to author
Forward
0 new messages