From 50d4c84aa7e28167cedbe14cd064d98a605ca1ea Mon Sep 17 00:00:00 2001 From: Mason Larobina Date: Sun, 29 Nov 2009 18:41:56 +0800 Subject: 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. --- examples/config/uzbl/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'examples/config') 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 = 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: -- cgit v1.2.3