From 4527524da9af9feb9a324061c4f8cb11361da224 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Oct 2010 16:12:44 -0400 Subject: Alias the keypad enter to enter --- examples/config/config | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index b6d9fe3..dd76381 100644 --- a/examples/config/config +++ b/examples/config/config @@ -121,6 +121,7 @@ set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}.@{WEBKIT_MI @modmap @modmap @modmap +@modmap #modkey_addition @modkey_addition -- cgit v1.2.3 From c3fdbba61d8312244078085568478c4e93066ea4 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Oct 2010 16:13:10 -0400 Subject: Ignore multikey When the compose key is used in insert mode, the multi_key is still 'active' when command mode is returned to. Ignore this key. --- examples/config/config | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index dd76381..535e68b 100644 --- a/examples/config/config +++ b/examples/config/config @@ -131,6 +131,7 @@ set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}.@{WEBKIT_MI #ignore_key @ignore_key @ignore_key +@ignore_key # --- Bind aliases ----------------------------------------------------------- -- cgit v1.2.3 From e208b432c1337d5b09650fe2f192fd9d5bf117af Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Oct 2010 16:13:54 -0400 Subject: More scrolling bindings Home/End should work. Ctrl-f/b are commonly used vim bindings. --- examples/config/config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index 535e68b..bbd9f82 100644 --- a/examples/config/config +++ b/examples/config/config @@ -190,8 +190,12 @@ set ebind = @mode_bind global,-insert @cbind l = scroll horizontal 20 @cbind = scroll vertical -100% @cbind = scroll vertical 100% +@cbind f = scroll vertical 100% +@cbind b = scroll vertical -100% @cbind << = scroll vertical begin @cbind >> = scroll vertical end +@cbind = scroll vertical begin +@cbind = scroll vertical end @cbind ^ = scroll horizontal begin @cbind $ = scroll horizontal end @cbind = scroll vertical end -- cgit v1.2.3 From de6c0fba6787c2b05e44244cfe3cdb1c864e0423 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Oct 2010 16:14:42 -0400 Subject: Add the same duality for pasting a url as others It changes gY's meaning, but it better matches with go/gO and friends. --- examples/config/config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index bbd9f82..fe2565c 100644 --- a/examples/config/config +++ b/examples/config/config @@ -305,7 +305,8 @@ set formfiller = spawn @scripts_dir/formfiller.sh @cbind gN = event NEW_TAB_NEXT @cbind go_ = event NEW_TAB %s @cbind gO_ = event NEW_TAB_NEXT %s -@cbind gY = sh 'echo "event NEW_TAB `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' +@cbind gy = sh 'echo "event NEW_TAB `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' +@cbind gY = sh 'echo "event NEW_TAB_NEXT `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' # Closing / resting @cbind gC = exit -- cgit v1.2.3 From a43400b5633dcff781e5c4ff5a52608cf3e29793 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Oct 2010 16:15:27 -0400 Subject: Add a keybinding to open a similar window History is lost, but it works as a temporary bookmarking system. --- examples/config/config | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index fe2565c..961d1d9 100644 --- a/examples/config/config +++ b/examples/config/config @@ -261,6 +261,9 @@ set ebind = @mode_bind global,-insert @cbind yu = sh 'echo -n $6 | xclip' @cbind yy = sh 'echo -n $7 | xclip' +# Clone current window +@cbind c = sh 'echo "event NEW_TAB $6" > $4' +#@cbind c = sh 'uzbl-browser -u $6' # Go the page from primary selection @cbind p = sh 'echo "uri `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' # Go to the page in clipboard -- cgit v1.2.3 From c585a24f67fcd7e796ef25366123db21cfad1322 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 9 Oct 2010 16:25:28 -0400 Subject: Make tabbed versions of the 'clone' binding --- examples/config/config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index 961d1d9..a387019 100644 --- a/examples/config/config +++ b/examples/config/config @@ -262,8 +262,7 @@ set ebind = @mode_bind global,-insert @cbind yy = sh 'echo -n $7 | xclip' # Clone current window -@cbind c = sh 'echo "event NEW_TAB $6" > $4' -#@cbind c = sh 'uzbl-browser -u $6' +@cbind c = sh 'uzbl-browser -u $6' # Go the page from primary selection @cbind p = sh 'echo "uri `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' # Go to the page in clipboard @@ -311,6 +310,10 @@ set formfiller = spawn @scripts_dir/formfiller.sh @cbind gy = sh 'echo "event NEW_TAB `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' @cbind gY = sh 'echo "event NEW_TAB_NEXT `xclip -selection primary -o | sed s/\\\@/%40/g`" > $4' +# Clone current tab +@cbind gd = sh 'echo "event NEW_TAB $6" > $4' +@cbind gD = sh 'echo "event NEW_TAB_NEXT $6" > $4' + # Closing / resting @cbind gC = exit @cbind gQ = event CLEAN_TABS -- cgit v1.2.3 From 8da3fc7070bd9a4f6e712d38d9f628f1399b7c57 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sun, 10 Oct 2010 11:46:23 -0400 Subject: Add yU/yY to yank the hovered uri --- examples/config/config | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/config') diff --git a/examples/config/config b/examples/config/config index a387019..c61ae76 100644 --- a/examples/config/config +++ b/examples/config/config @@ -259,7 +259,9 @@ set ebind = @mode_bind global,-insert # Yanking & pasting binds @cbind yu = sh 'echo -n $6 | xclip' +@cbind yU = sh 'echo -n $8 | xclip' \@SELECTED_URI @cbind yy = sh 'echo -n $7 | xclip' +@cbind yY = sh 'echo -n $8 | xclip' \@SELECTED_URI # Clone current window @cbind c = sh 'uzbl-browser -u $6' -- cgit v1.2.3