CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/08/25 06:18:51
Modified files:
usr.bin/tmux : Makefile cmd-choose-session.c
cmd-choose-window.c cmd-command-prompt.c cmd.c
key-bindings.c tmux.1 tmux.h
Added files:
usr.bin/tmux : cmd-choose-client.c
Log message:
Add a choose-client command and extend choose-{session,window} to accept a
template. After a choice is made, %% (or %1) in the template is replaced by the
name of the session, window or client suitable for -t and the result executed
as a command. So, for example, "choose-window "killw -t '%%'"" will kill the
selected window.
The defaults if no template is given are (as now) select-window for
choose-window, switch-client for choose-session, and detach-client for
choose-client (now bound to D).