Document :prompt in README
This commit is contained in:
parent
b370f91025
commit
919f121cef
|
@ -810,6 +810,9 @@ Kakoune state:
|
||||||
|
|
||||||
Some helper commands can be used to define composite commands:
|
Some helper commands can be used to define composite commands:
|
||||||
|
|
||||||
|
* +:prompt <prompt> <register> <command>+: Prompt the user for a string, when
|
||||||
|
the user validates, store the result in given <register> and run <commmand>.
|
||||||
|
the -init <str> switch allows setting initial content.
|
||||||
* +:menu <label1> <commands1> <label2> <commands2>...+: display a menu using
|
* +:menu <label1> <commands1> <label2> <commands2>...+: display a menu using
|
||||||
labels, the selected label's commands are executed.
|
labels, the selected label's commands are executed.
|
||||||
+menu+ can take a -auto-single argument, to automatically run commands
|
+menu+ can take a -auto-single argument, to automatically run commands
|
||||||
|
|
Loading…
Reference in New Issue
Block a user