aboutsummaryrefslogtreecommitdiff
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index e3774256..b76ea8d1 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -81,6 +81,10 @@ cmd_command_prompt_init(struct cmd *self, int key)
case 'f':
data->template = xstrdup("find-window '%%'");
break;
+ case '\'':
+ data->template = xstrdup("select-window -t ':%%'");
+ data->prompts = xstrdup("index");
+ break;
}
}