Switches the browser into Command Mode and prefill the inputbox on th bottom of
the browser with various prefilled content.
.TP
-.B input
-Writes ":" into to inputbox.
-.TP
-.B inputopen
-Writes ":open " into to inputbox.
-.TP
-.B inputtabopen
-Writes ":tabopen " into to inputbox.
-.TP
-.B inputopencurrent
-Writes ":open {url}" into to inputbox where {url} is the current used url.
-.TP
-.B inputtabopencurrent
-Writes ":tabopen {url}" into to inputbox where {url} is the current used url.
+.BI "input [" "TEXT" "]"
+Writes
+.I TEXT
+into to inputbox and switch to command mode. If no
+.I TEXT
+is given, print ':' into the inputbox.
+.TP
+.BI "inputuri [" "TEXT" "]"
+Writes
+.I TEXT\fR{URI}
+into to inputbox where {URL} is the current used url. This can be used to add
+keybindings to generate the tabopen command with current uri prefilled. If
+.I TEXT
+is not given use ':' instead.
.SS Navigate
Following commands are used to navigate within the browser history.
.TP
{"open-closed", command_open_closed, {VP_TARGET_CURRENT}},
{"tabopen-closed", command_open_closed, {VP_TARGET_NEW}},
{"input", command_input, {0, ":"}},
- {"inputopen", command_input, {0, ":open "}},
- {"inputtabopen", command_input, {0, ":tabopen "}},
- {"inputopencurrent", command_input, {VP_INPUT_CURRENT_URI, ":open "}},
- {"inputtabopencurrent", command_input, {VP_INPUT_CURRENT_URI, ":tabopen "}},
+ {"inputuri", command_input, {VP_INPUT_CURRENT_URI, ":"}},
{"quit", command_close, {0}},
{"source", command_view_source, {0}},
{"back", command_navigate, {VP_NAVIG_BACK}},
{"nmap <shift-?>=input ?"},
{"smap n=search-forward"},
{"smap N=search-backward"},
- {"nmap o=inputopen"},
- {"nmap t=inputtabopen"},
- {"nmap O=inputopencurrent"},
- {"nmap T=inputtabopencurrent"},
+ {"nmap o=input :open "},
+ {"nmap t=input :tabopen "},
+ {"nmap O=inputuri :open "},
+ {"nmap T=inputuri :tabopen "},
{"nmap gh=open-home"},
{"nmap gH=tabopen-home"},
{"nmap u=open-closed"},