2010-11-08

The tskeleton and stakeholders vim plugins

Here is a simple demonstration of the tskeleton and the stakeholders plugins.

This is a demonstration of the tskeleton and the stakeholders plugins. First, we type a template name and press <c-space> to expand the template. This is done by tskeleton. We then type the name of the environment. In this example we insert an environment. The environment name is automatically inserted in the corresponding \verb+\end+ command. This is done by stakeholders.

First, we type only \verb+\b+ to show demonstrate how to select templates from a list of possible choices.

Behold.


2 comments:

  1. What is the similarity with the plugin snipmate[1]? The goal is to replace it or supplement their functionality?

    To me it makes all the difference, Thanks. :)

    1 - http://www.vim.org/scripts/script.php?script_id=2540

    ReplyDelete
  2. Tom.
    Thank you very much!

    I really like what you have done. Not only stakeholder seems to work like a charm, but also you have made it a module we just have to plug into our old templating plugins (voyeg3r, it's not about replacing new stuff (snipmate) with old one (tskeleton, mu-template [1]), but updating these old plugins to be on par with the latecomer)


    [1] http://code.google.com/p/lh-vim/wiki/muTemplate

    ReplyDelete