aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2009-11-29 18:41:56 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2009-11-29 18:41:56 +0800
commit50d4c84aa7e28167cedbe14cd064d98a605ca1ea (patch)
tree4772b6decabef5449c636b385e5e613b437bf85d /examples/config
parent5cecb5d6570df33c2ce9c700c563fad8b787f13e (diff)
Correctly implemented stack mode usage in the bind plugin.
Using the stack mode in the bind plugin is required when using a stack bind in a mode with "set keycmd_events = 0" and "set forward_keys = 1" otherwise no keycmd input would work.
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/uzbl/config12
1 files changed, 11 insertions, 1 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index 9820fda..5f70627 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -3,7 +3,7 @@
set prefix = /usr/local
-# === Shortcuts ==============================================================
+# === Shortcuts / Aliases ===================================================
# request BIND <keycmd> = <command>
set bind = request BIND
@@ -273,6 +273,7 @@ menu_link_add Print Link = print \@SELECTED_URI
# Define some mode specific uzbl configurations.
set command = @mode_config command
set insert = @mode_config insert
+set stack = @mode_config stack
# Command mode config.
@command keycmd_style = foreground="red"
@@ -283,6 +284,15 @@ set insert = @mode_config insert
@insert status_background = #303030
@insert mode_indicator = Ins
+# Multi-stage-binding mode config.
+@stack keycmd_events = 1
+@stack modcmd_updates = 1
+@stack forward_keys = 0
+@stack keycmd_style = foreground="red"
+@stack prompt_style = foreground="#888" weight="light"
+@stack status_background = #202020
+@stack mode_indicator = Bnd
+
set default_mode = command
# Mode bindings: