Permalink
Browse files

My first glorious function: cleanup Rails3 log

yay!
  • Loading branch information...
1 parent 8187c23 commit 8fe83043e73cff19a52ed6b43a6261019f32cf19 @dira committed Apr 25, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 plugin/dira.vim
View
8 plugin/dira.vim
@@ -0,0 +1,8 @@
+function! CleanRailsLog()
+ exec '%s/Started GET "\/assets.*$/'
+ exec '%s/Served asset.*$/'
+
+ exec '%s/MONGODB.*$/'
+
+ exec '%s/\n\n\+/\r'
+endfunction

0 comments on commit 8fe8304

Please sign in to comment.