Skip to content
Browse files

Add some shortcut definitions for Tabular

  • Loading branch information...
1 parent 14451e6 commit 59997588919cfbd636b988f05aab5b77349b2bf4 @tejr committed Sep 25, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 vim/after/plugin/tabular.vim
View
11 vim/after/plugin/tabular.vim
@@ -0,0 +1,11 @@
+" Only run this if function available
+if !exists(':AddTabularPattern')
+ finish
+endif
+
+" Shortcut patterns for Tabular; first colon, semicolon, comma, equals sign
+AddTabularPattern! f: /^[^:]*\zs:/
+AddTabularPattern! f; /^[^;]*\zs;/
+AddTabularPattern! f, /^[^,]*\zs,/
+AddTabularPattern! f= /^[^=]*\zs=/
+

0 comments on commit 5999758

Please sign in to comment.
Something went wrong with that request. Please try again.