From 29317c900817478fc35e39d7758ee46990385047 Mon Sep 17 00:00:00 2001 From: Dan Hackney Date: Wed, 30 Dec 2009 17:40:13 -0500 Subject: Finish describing EM requests. Signed-off-by: Dan Hackney --- README | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) (limited to 'README') diff --git a/README b/README index 4482fcf..20fa718 100644 --- a/README +++ b/README @@ -442,7 +442,7 @@ Basically all events have this format: Events/requests which the EM and its plugins listens for -* `BIND` and `MODE_BIND`: define global resp. per-mode key/button binds. +* `BIND` and `MODE_BIND`: Define global and per-mode key/button binds. - `request BIND = ` Set global binding (this is a shortcut for `request MODE_BIND global = `). - `request MODE_BIND = ` Set a local binding for ``. The `` can be anything like `command`, `insert,command`, `global`, `global,-insert`. @@ -462,31 +462,33 @@ Events/requests which the EM and its plugins listens for - Hitting return, enter or esc will terminate the search. - `event BIND ZZ = exit` - When you type `ZZ` and nothing else, the `exit` command will be triggered immediately. -* `MODE_CONFIG`: ?? - request MODE_CONFIG = -* `ON_EVENT`: allows you to bind misc commands to misc events - request ON_EVENT -* `PROGRESS_CONFIG` - request PROGRESS_CONFIG = -* `MODMAD` - request MODMAP From To -* `IGNORE_KEY` - request IGNORE_KEY -* `MODKEY_ADDITION` - request MODKEY_ADDITION +* `MODE_CONFIG`: Set mode specific configs. If the mode being modified is the current mode then apply the changes immediately. + - `request MODE_CONFIG = ` +* `ON_EVENT`: Execute a command when a given event is fired. + - `request ON_EVENT ` +* `PROGRESS_CONFIG`: Set a configuration option for `LOAD_PROGRESS` updates. + - `request PROGRESS_CONFIG = `: Set progress config variable `key` to `value`. +* `MODMAP`: Set an alternate name for a key or button. + - `request MODMAP `: Create an alias `` for key command ``. This allows `` to be bound to a command, which will be invoked when the `` key or button is pressed. +* `IGNORE_KEY`: Ignore a key pattern, specified by ``. + - `request IGNORE_KEY ` +* `MODKEY_ADDITION`: Create a compound modkey from multiple individual keys. + - `request MODKEY_ADDITION `: The modkey `` is considered pressed when all of ``, ``, and `` are pressed. * `TOGGLE_MODES` - event TOGGLE_MODES ... -* `APPEND_KEYCMD`: append ` to keycmd -* `INJECT_KEYCMD `: replace keycmd by `` -* `KEYCMD_DELETE` -* `KEYCMD_STRIP_WORD` -* `KEYCMD_EXEC_CURRENT`: (tries to) execute whatever is in the keycmd -* `SET_KEYCMD` -* `SET_CURSOR_POS` + - `request TOGGLE_MODES ... ` +* `APPEND_KEYCMD`: Append a string to the current keycmd. + - `request APPEND_KEYCMD `: Append `` to the current keycmd. +* `INJECT_KEYCMD`: Injecting a string into the keycmd at the cursor position. + - `request INJECT_KEYCMD `: Inject `` into the keycmd at the current cursor position. +* `KEYCMD_DELETE`: Removes the character after the cursor position in the keycmd. +* `KEYCMD_STRIP_WORD`: Removes the last word from the keycmd, similar to readline `^W`. +* `KEYCMD_EXEC_CURRENT`: (tries to) execute whatever is in the keycmd. +* `SET_KEYCMD`: Allow setting of the keycmd externally. + - `request SET_KEYCMD `: Set the keycmd to ``. +* `SET_CURSOR_POS`: Allow setting of the cursor position externally. + - `request SET_CURSOR_POS `: Set the keycmd cursor to ``. If `` is `+`, advance the cursor by one character, and if it is `-`, move the cursor back by one character. * `START_COMPLETION`: TODO explain completion - - ### COMMAND LINE ARGUMENTS uzbl [ uri ] -u, --uri=URI Uri to load at startup (equivalent to 'uzbl ' or 'set uri = URI' after uzbl has launched) -- cgit v1.2.3