Permalink
Browse files

Plumbing stuff.

  • Loading branch information...
1 parent 58dba6d commit 9149115cc647e782d9506b24cdfb0ed083454c0b @jlouis committed Oct 11, 2012
Showing with 22 additions and 7 deletions.
  1. +4 −0 README.md
  2. +1 −1 bin/a+
  3. +1 −1 bin/a-
  4. +16 −5 lib/plumbing
View
@@ -4,6 +4,10 @@ This repository contains some configuration I did for Plan9 from user space. A q
is in here is:
* The `gg` command, which is a shorthand `git grep -n` helper for use with acme
+* The `a+` and `a-` commands which does indentation.
+* The `nocr` command which kills CR
+* The `q` command which quotes a selection
+* ...
Furthermore plumbing rules for:
View
@@ -1,5 +1,5 @@
#!/usr/bin/env rc
if(~ $#* 0){
- * = ' ' # tab
+ * = ' ' # tab
}
9 sed 's☺^☺'^$1^☺
View
@@ -1,5 +1,5 @@
#!/usr/bin/env rc
if(~ $#* 0){
- * = ' '
+ * = ' '
}
9 sed 's☺^'^$1^'☺☺'
View
@@ -2,14 +2,25 @@
editor = acme
-# existing files, possibly tagged by line number, go to editor
+# Ocaml error messages
type is text
-data matches 'File "([.a-zA-Z¡-￿0-9_/\-]*[a-zA-Z¡-￿0-9_/\-])", line ([0-9]+)?'
-arg isfile $1
-data set $file
-attr add addr=$2
+data matches 'File "([.a-zA-Z¡-<U+FFFF>0-9_/\-]*[a-zA-Z¡-<U+FFFF>0-9_/\-])", line ([0-9]+)?'
+arg isfile $1
+data set $file
+attr add addr=$2
plumb to edit
plumb client $editor
+# Trac tickets
+type is text
+data matches 'Trac #([0-9]+)'
+plumb to web
+plumb start web http://trac.tissuu.com:8000/trac/ticket/$1
+
+type is text
+data matches 'Trac #R([0-9]+)'
+plumb to web
+plumb start web http://trac.tissuu.com:8000/trac/report/$1
+
include basic

0 comments on commit 9149115

Please sign in to comment.