aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Robert Manea <gotmor@gmail.com>2009-10-19 18:39:51 +0200
committerGravatar Robert Manea <gotmor@gmail.com>2009-10-19 18:39:51 +0200
commitcbf5a2988767616df196a3fa5bd88bc020d5e264 (patch)
tree78e5d811a55d9d6aab91c997a3e2e7bfd98d7b39 /examples
parentf4f51de768759334b093634741b1e871ba0b9f19 (diff)
added FORM_ACTIVE event and config example
Diffstat (limited to 'examples')
-rw-r--r--examples/config/uzbl/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 126c7e2..60c816d 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -42,6 +42,9 @@ set new_window = sh 'uzbl-browser -u $8' # equivalent to the default beh
@on_event LOAD_FINISH @set_status <span foreground="gold">done</span>
@on_event LOAD_FINISH spawn @scripts_dir/history.sh
+# Switch to insert mode if clicked on a html form
+@on_event FORM_ACTIVE @set_mode insert
+
# Misc on_event handlers
#@on_event CONFIG_CHANGED print Config changed: %1 = %2