diff options
Diffstat (limited to 'examples/config')
-rw-r--r-- | examples/config/uzbl/config | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config index dc91e59..7a2aaa0 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 @@ -132,7 +132,7 @@ set socket_dir = /tmp # Middle click # if clicked on a link open the link in a new uzbl window -# otherwise open the selection in the current window1 +# otherwise open the selection in the current window set load_from_xclip = sh 'echo "uri $(xclip -o)" > $4' set open_new_window = sh 'uzbl-browser -u \@SELECTED_URI' @bind <Button2> = js if("\@SELECTED_URI") { Uzbl.run("\@open_new_window"); } else { Uzbl.run("\\\@load_from_xclip"); } @@ -280,6 +280,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" @@ -290,6 +291,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: |