From e0f4697e7cfd1a09d6332eae607fd3a9a1181234 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 5 May 2010 23:24:23 +0000 Subject: Identical behaviour to select-prompt can now be obtained with command-prompt, so remove select-prompt and change ' to be bound to command-prompt -p index "select-window -t :%%". --- cmd-command-prompt.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd-command-prompt.c') 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; } } -- cgit v1.2.3