diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-09-25 11:55:58 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-09-25 11:55:58 +1200 |
commit | 72a1f049926ebb0a5a0ed06439795f2317506d82 (patch) | |
tree | 038dcc89324b59d0fa96e5d12c11ab766b18e016 /vim/after/plugin | |
parent | Remove Xterm workaround (diff) | |
download | dotfiles-72a1f049926ebb0a5a0ed06439795f2317506d82.tar.gz dotfiles-72a1f049926ebb0a5a0ed06439795f2317506d82.zip |
Add some shortcut definitions for Tabular
Diffstat (limited to 'vim/after/plugin')
-rw-r--r-- | vim/after/plugin/tabular.vim | 11 |
1 files changed, 11 insertions, 0 deletions
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=/ + |