diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-13 01:08:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-13 01:08:40 +0000 |
commit | 98c85cf989a951c28e536e10de147b3263d934ce (patch) | |
tree | 4a685e79d8097ab8c62dd28bd641cbff612d50f9 /TODO | |
parent | 9ab200843e7f2167129cacfe83aeca6a502a374e (diff) | |
download | rtmux-98c85cf989a951c28e536e10de147b3263d934ce.tar.gz rtmux-98c85cf989a951c28e536e10de147b3263d934ce.tar.bz2 rtmux-98c85cf989a951c28e536e10de147b3263d934ce.zip |
command-prompt now accepts a single argument, a template string. Any occurrences of %% in this string are replaced by whatever is entered at the prompt and the result is executed as a command. This allows things like (now bound by default):
bind , command-prompt "rename-window %%"
Or my favourite:
bind x command-prompt "split-window 'man %%'"
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -93,9 +93,6 @@ move-pane (to window) >2 panes per window - would be nice if tmux could be the shell -- some sort of extension to command prompt so can do eg - bind m command-prompt 'split "man %%"' - bind r command-prompt 'renamew "%%"' - which then asks for a string, substitutes %% in command and executes it +- command-prompt should accept an argument to specify the prompt - fix rxvt cursor fg issue (text under cursor has non-white fg) - key handling sucks a bit and needs to be reworked |