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 :%%".
This commit is contained in:
Nicholas Marriott
2010-05-05 23:24:23 +00:00
parent c4a2fdf15b
commit e0f4697e7c
7 changed files with 12 additions and 106 deletions

View File

@@ -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;
}
}