I installed the Tabular plugin, which works very well for me if complex regular expressions are not involved ...
But I have this list:
one @abc @rstuvw &foo three @defg &bar four @mn @opq &kludge &hack twelve @hijkl &baz &quux
I want to align it this way (on @ ... first, then on & ...):
one @abc @rstuvw &foo three @defg &bar four @mn @opq &kludge &hack twelve @hijkl &baz &quux
which means that I have 3 problems at the same time:
- align on first occurrence
- from two different delimiters (@ and &)
- which are not really separators, but โspecial charactersโ at the beginning of words
This is far beyond my understanding of both regular expressions and Tabular.vim
How should I proceed?
source share