aboutsummaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorGravatar DuClare <akarinotengoku@gmail.com>2009-05-28 22:57:02 +0300
committerGravatar DuClare <akarinotengoku@gmail.com>2009-05-28 22:57:02 +0300
commiteeff23bea0328226f4644edaa925ea8ddee1be67 (patch)
tree3e46d1a4841ea9cfac1f66f79f82fa983f3aaed1 /README
parent476b4c97a260b5a2b05c7889f057172f11a44483 (diff)
Document keycmd* actions, undocument removed commands
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 5 insertions, 6 deletions
diff --git a/README b/README
index 71cdcfa..250d928 100644
--- a/README
+++ b/README
@@ -128,12 +128,6 @@ Examples:
ACT <action>
This tells uzbl to execute an action immediately. The simplest example of this would be `act exit`; you know what that'll do.
- KEYCMD <string>
-This sets the interactive command buffer to `<string>`. Keycmd is primarily useful for scripts that help you type a command while still letting you edit it before execution.
-For example, if you have a binding like "o _" that opens an URL, then you could create a binding `O` that spawns a script which will set the command buffer to "o current-uri-here", letting you enter relative URLs easily.
-
- KEYCMDN <string>
-Like KEYCMD, but also emulates a press of return which causes binds with an asterisk or underscore to execute.
(See sample config)
### ACTIONS
@@ -175,6 +169,11 @@ actions follows:
- if the optional state is 0, disable insert mode. If 1, enable insert mode.
* `runcmd`
- can be used for running a command such as SET or BIND
+* `keycmd <string>`
+* `keycmd_nl <string>`
+ - keycmd sets the interactive command buffer to `<string>`. If the given string is a valid binding, it will execute. `Keycmd_nl` is like `keycmd`, but it also emulates a press of return, causing bindings with a parameter to execute. For example, `keycmd_nl o google.com` would load the said url if you have a binding like `bind o _ = uri %s`.
+* `keycmd_bs`
+ - erase (backspace) one character from the command buffer
### VARIABLE REPLACEMENT