.vim/after/plugin/tabular.vim

Fri, 07 May 2021 00:09:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 07 May 2021 00:09:07 -0500
changeset 903
7453a9387eb3
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

fix annoyance on older vim - interacts badly with stopinsert trigger

423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 if exists(':Tabularize')
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 AddTabularPattern! first_eq /^[^=]*\zs=/
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 AddTabularPattern! first_arrow /^.\{-}\zs=>/
464
452034aff788 add first colon shortcut
Meredith Howard <mhoward@roomag.org>
parents: 425
diff changeset
4 AddTabularPattern! first_colon /^.\{-}:\zs/
425
e23906d13a57 add method tab shortcut
Meredith Howard <mhoward@roomag.org>
parents: 423
diff changeset
5 AddTabularPattern! methods /->\|\\./l1r0
423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 endif

mercurial