From: Daniel Carl Date: Sat, 15 Dec 2012 23:07:49 +0000 (+0100) Subject: Use inputbox to filter hints. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=5fbaa0171c0a114958ab806a4d28b5a9698b3061;p=vimb.git Use inputbox to filter hints. --- diff --git a/src/command.c b/src/command.c index a26780d..5348a40 100644 --- a/src/command.c +++ b/src/command.c @@ -65,7 +65,7 @@ static CommandInfo cmd_list[] = { {"complete", command_complete, {0}, VP_MODE_COMMAND | VP_MODE_COMPLETE}, {"complete-back", command_complete, {1}, VP_MODE_COMMAND | VP_MODE_COMPLETE}, {"inspect", command_inspect, {0}, VP_MODE_NORMAL}, - {"hint-link", command_hints, {0}, VP_MODE_HINTING}, + {"hint-link", command_hints, {0, "."}, VP_MODE_HINTING}, {"hint-focus-next", command_hints_focus, {0}, VP_MODE_HINTING}, {"hint-focus-prev", command_hints_focus, {1}, VP_MODE_HINTING}, }; @@ -273,6 +273,7 @@ gboolean command_inspect(const Arg* arg) gboolean command_hints(const Arg* arg) { + command_write_input(arg->s); hints_create(NULL, arg->i); return TRUE;