aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-01-10 10:28:49 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2011-02-14 20:57:25 -0700
commit8ae529244eeefa13b43a08593eedf80cf6d3a2b3 (patch)
tree5189e9dd4afff6f1623250462a0b106b197c932b
parenta159bc7c3f437857f3684959caeeee9e33972598 (diff)
document history plugin and add example HISTORY_SEARCH binding
-rw-r--r--docs/README.uzbl-event-manager19
-rw-r--r--examples/config/config2
2 files changed, 20 insertions, 1 deletions
diff --git a/docs/README.uzbl-event-manager b/docs/README.uzbl-event-manager
index 074811e..92f0228 100644
--- a/docs/README.uzbl-event-manager
+++ b/docs/README.uzbl-event-manager
@@ -97,3 +97,22 @@ WHITELIST_COOKIE <part> <re>
Adds a new whitelist filter. cookies where the component specified by
`part` matches the regular expression `re` will be allowed. part can be any
of the parts allowed for the BLACKLIST_COOKIE event
+
+### history.py ###
+- Status bar command history
+- Connects To: (KEYCMD_EXEC, HISTORY_PREV, HISTORY_NEXT, HISTORY_SEARCH)
+
+Records commands that are typed into the status bar so that they can be
+recalled. The same history is shared by all uzbl instances connected to the
+same event manager.
+
+HISTORY_PREV
+ Iterates backwards through commands that have been issued (filtered by the
+ last HISTORY_SEARCH if applicable).
+
+HISTORY_NEXT
+ Iterates forwards through commands that have been issued (filtered by the
+ last HISTORY_SEARCH if applicable).
+
+HISTORY_SEARCH <string>
+ Searches backwards through command history for an exact string.
diff --git a/examples/config/config b/examples/config/config
index c708576..864d37e 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -193,7 +193,7 @@ set ebind = @mode_bind global,-insert
@ebind <Up> = event HISTORY_PREV
@ebind <Down> = event HISTORY_NEXT
-@ebind <Ctrl>r<s:>_ = event HISTORY_SEARCH %s
+@ebind <Ctrl>r<search:>_ = event HISTORY_SEARCH %s
# Keycmd injection/append examples.
#@ebind <Ctrl>su = event INJECT_KEYCMD \@uri
#@ebind <Ctrl>st = event INJECT_KEYCMD \@title