aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/uzbl/config10
1 files changed, 9 insertions, 1 deletions
diff --git a/examples/config/uzbl/config b/examples/config/uzbl/config
index fffc8b6..7668963 100644
--- a/examples/config/uzbl/config
+++ b/examples/config/uzbl/config
@@ -206,6 +206,7 @@ set formfiller = spawn @scripts_dir/formfiller
# Examples using multi-stage-bindings with text prompts.
@bind o<uri:>_ = uri %s
+@bind O<uri:\@uri>_ = uri %s
# multi-stage binding way to write bookmarks to file from inside uzbl.
@bind <Ctrl>b<tags:>_ = sh 'echo -e "$6 %s" >> $XDG_DATA_HOME/uzbl/bookmarks'
@@ -214,12 +215,19 @@ set formfiller = spawn @scripts_dir/formfiller
@bind <Ctrl>a<:><Ctrl>q = exit
@bind <Ctrl>a<:><Ctrl>h = uri http://uzbl.org/
+# Inject handy values into the keycmd.
+@bind <Ctrl>su = event INJECT_KEYCMD \@uri
+@bind <Ctrl>st = event INJECT_KEYCMD \@TITLE
+# Or append.
+@bind <Ctrl>du = event APPEND_KEYCMD \@uri
+@bind <Ctrl>dt = event APPEND_KEYCMD \@TITLE
+
# === command editing configuration ==========================================
# you'll want this at the very least
@bind <Return> = event KEYCMD_EXEC_CURRENT
-@bind <Escape> = event @set_mode
+@bind <Escape> = @set_mode
# basic searching
@bind <Home> = event SET_CURSOR_POS 0