aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-24 20:23:36 +0800
committerGravatar Mason Larobina <mason.larobina@gmail.com>2010-01-24 20:23:36 +0800
commit5c4a5d2bd8adbe8ceca6afda1a721991a6f73c82 (patch)
treeb726f692f9f178c4e8c4955bdd0a24c88b71ae42 /examples
parent3d079af6e0d4449c350ce1d8c2bebec0e4eff881 (diff)
Added example uzbl-tabbed binds for updated uzbl-tabbed.
Diffstat (limited to 'examples')
-rw-r--r--examples/config/config21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/config/config b/examples/config/config
index 2a18a57..28fa5fd 100644
--- a/examples/config/config
+++ b/examples/config/config
@@ -240,6 +240,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