Wednesday, May 5, 2010

Re: Support for quickly classifying or annotating with labels from a hierarchy

An all new plugin, unbelievable.
Thanks Christian!

I think it could be helpful for others
(maybe on http://www.vim.org/scripts/ ?).
I am using it heavily, already; so here is one small tweak:
'\(\d*\.\)*\d*$'
in order to allow for class position numbers that consist
of more than one digit.

Another tweak would be to drop the numerical part from the class name
(as an option) for the 'word' part in complete_add({'word':value,
'abbr':abbr})
because the numerical part is intended to define the class hierarchy,
only.
For example, 4 of my classes are:
island.1.14
island_p.1.14.1
...
lake.1.15
mountain.1.16
and the completion to island, island_p, lake, mountain would be
sufficient.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: