aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/config
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-24 21:42:22 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-24 21:42:22 +0800
commit49373bdbb9021e59387dab682bdb5403416a2ce6 (patch)
tree76b468a87e1c2a10c97f9668ef8a17fd2992fe3d /examples/config
parentf52f72d4d2914e01a3d918ee60ed21a0b21cb4db (diff)
parent092e67e87cd2c8220136908b7d16b8af86378775 (diff)
Merge branch 'experimental'
Diffstat (limited to 'examples/config')
-rw-r--r--examples/config/config21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config
index f9bab4f..2801d56 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -231,6 +231,27 @@ set ebind = @mode_bind global,-insert
@cbind n = search
@cbind N = search_reverse
+# --- Uzbl tabbed binds ---
+# Tab opening
+@cbind gn = event NEW_TAB
+@cbind go<uri:>_ = event NEW_TAB %s
+@cbind gY = sh 'echo "event NEW_TAB `xclip -selection primary -o`" > $4'
+# Closing / resting
+@cbind gC = exit
+@cbind gQ = event CLEAN_TABS
+# Tab navigating
+@cbind g< = event FIRST_TAB
+@cbind g> = event LAST_TAB
+@cbind gt = event NEXT_TAB
+@cbind gT = event PREV_TAB
+@cbind gi<index:>_ = event GOTO_TAB %s
+# Preset loading
+set preset = event PRESET_TABS
+@cbind gs<preset save:>_ = @preset save %s
+@cbind glo<preset load:>_ = @preset load %s
+@cbind gd<preset del:>_ = @preset del %s
+@cbind gli = @preset list
+
# --- Web searching binds ---
@cbind gg<Google:>_ = uri http://www.google.com/search?q=\@<encodeURIComponent(%r)>\@
@cbind \\awiki<Archwiki:>_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@<encodeURIComponent(%r)>\@&go=Go