From 83869bed6e1cc7bca3fff46deffd34d59a2b9888 Mon Sep 17 00:00:00 2001
From: "martin f. krafft" <madduck@madduck.net>
Date: Sat, 5 Sep 2009 12:25:47 +0200
Subject: [PATCH] experiment with urxvt matcher

---
 .Xdefaults | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

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
-- 
2.39.5