From eeff23bea0328226f4644edaa925ea8ddee1be67 Mon Sep 17 00:00:00 2001 From: DuClare Date: Thu, 28 May 2009 22:57:02 +0300 Subject: Document keycmd* actions, undocument removed commands --- README | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'README') diff --git a/README b/README index 71cdcfa..250d928 100644 --- a/README +++ b/README @@ -128,12 +128,6 @@ Examples: ACT This tells uzbl to execute an action immediately. The simplest example of this would be `act exit`; you know what that'll do. - KEYCMD -This sets the interactive command buffer to ``. 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 -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 ` +* `keycmd_nl ` + - keycmd sets the interactive command buffer to ``. 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 -- cgit v1.2.3