From: Daniel Carl Date: Wed, 19 Dec 2012 18:31:32 +0000 (+0100) Subject: Fixed wrong parameter for command_open. X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=62befb1f8ea9ff6728af8e557a75f9fc67f2e9ba;p=vimb.git Fixed wrong parameter for command_open. --- diff --git a/src/command.c b/src/command.c index 927d74a..53531c3 100644 --- a/src/command.c +++ b/src/command.c @@ -30,7 +30,7 @@ extern const char *inputbox_bg[2]; static CommandInfo cmd_list[] = { /* command function arg mode */ - {"open", command_open, {VP_MODE_NORMAL, ""}, VP_MODE_NORMAL}, + {"open", command_open, {VP_TARGET_CURRENT, ""}, VP_MODE_NORMAL}, {"input", command_input, {0, ":"}, VP_MODE_COMMAND}, {"inputopen", command_input, {0, ":open "}, VP_MODE_COMMAND}, {"inputopencurrent", command_input, {VP_INPUT_CURRENT_URI, ":open "}, VP_MODE_NORMAL},