From: martin f. krafft <madduck@madduck.net>
Date: Sat, 5 Sep 2009 10:25:47 +0000 (+0200)
Subject: experiment with urxvt matcher
X-Git-Url: https://git.madduck.net/etc/xsession.git/commitdiff_plain/83869bed6e1cc7bca3fff46deffd34d59a2b9888

experiment with urxvt matcher
---

diff --git a/.Xdefaults b/.Xdefaults
index 47eddd1..868f9b5 100644
--- a/.Xdefaults
+++ b/.Xdefaults
@@ -34,10 +34,18 @@ Rxvt.loginShell:               true
 
 URxvt.perl-ext-common:         default,matcher,selection-pastebin
 
-URxvt.urlLauncher:             sensible-browser
+URxvt.keysym.C-Return:         perl:matcher
+URxvt.matcher.rend.0:          Uline
+URxvt.matcher.pattern.1:       \\B(/\\S+?)\072(\\d+)\\b
+URxvt.matcher.launcher.1:      gvim +$2 $1
+URxvt.matcher.rend.1:          Uline
+//URxvt.matcher.pattern.2:       \\B\043(\\d{6})\\b
+////URxvt.matcher.launcher.2:      sensible-browser bugs.debian.org/$1
+//URxvt.matcher.launcher.2:      echo bug \$1
+//URxvt.matcher.rend.2:          Uline
 
 URxvt.selection-pastebin.cmd:  pub %
-URxvt.selection-pastebin.url:  http://scratch.madduck.net/%==paste:%
+URxvt.selection-pastebin.url:  http\072\057\057scratch.madduck.net/%
 URxvt.keysym.C-M-p:            perl:selection-pastebin:remote-pastebin
 
 // URxvt.depth:                   32