aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-10-26 02:01:58 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-10-26 02:01:58 +0800
commitbb8678cb4ea1de030037409b0d2fcf819b4362bd (patch)
tree6c0f4e899b156162149ff90e5a51322db666fe56 /examples/config
parentc8d04d6e03e30c683a8c1d8c15b67d28ee075aac (diff)
Replaced make_simple function with mod-mapping ability in keycmd plugin.
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/uzbl/config14
1 files changed, 12 insertions, 2 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 7d05e9e..55267fd 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -13,6 +13,8 @@ set toggle_modes = request TOGGLE_MODES
set on_event = request ON_EVENT
# request PROGRESS_CONFIG <key> = <value>
set progress = request PROGRESS_CONFIG
+# request MODMAP From To
+set modmap = request MODMAP
set set_mode = set mode =
set set_status = set status_message =
@@ -42,8 +44,8 @@ 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
-# Generate a FORM_ACTIVE event if an editable
-# element on the loaded site has initial focus
+# Generate a FORM_ACTIVE event if an editable
+# element on the loaded site has initial focus
@on_event LOAD_FINISH js if(document.activeElement.type == 'text') {Uzbl.run("event FORM_ACTIVE");}
# Switch to insert mode if a (editable) html form is clicked
@@ -98,6 +100,14 @@ set fifo_dir = /tmp
set socket_dir = /tmp
+# === Binding modmaps ========================================================
+
+#modmap from to
+@modmap Control Ctrl
+@modmap ISO_Left_Tab Shift-Tab
+@modmap space Space
+
+
# === Keyboard bindings ======================================================
# With this command you can enter in any command at runtime when prefixed with