From 72a1f049926ebb0a5a0ed06439795f2317506d82 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 25 Sep 2012 11:55:58 +1200 Subject: Add some shortcut definitions for Tabular --- vim/after/plugin/tabular.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vim/after/plugin/tabular.vim (limited to 'vim/after') diff --git a/vim/after/plugin/tabular.vim b/vim/after/plugin/tabular.vim new file mode 100644 index 00000000..0e485355 --- /dev/null +++ b/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=/ + -- cgit v1.2.3