Loading ...
Sorry, an error occurred while loading the content.

113513Re: What plugin would do this?

Expand Messages
  • vfantasie
    Apr 2, 2010
      I think what you need is a code snippets plugin.
      There're at least 4-5 plugins that can do that.

      You can search these plugin names in vim.org
      XPTemplate, Snipmate, UltiSnips, Codecomplete, snippetsEmu

      UltiSnips need python, I didn't tried it.
      My favourite is Snipmate, because I think its snippet's syntax is the
      most elegant one.

      On 4月2日, 上午9时51分, MK <halfcountp...@...> wrote:
      > I'm positive some of you already do this, and I wanna too ;) so bear
      > with me.
      > I map some F-keys with stuff like
      > :imap <f2> for(i=0;i ;i++)
      > :imap <f3> vector< >::iterator it = xxx.begin(), end = xxx.end()
      > :imap <f4> while (my ($k,$v) = each %
      > I'd have a about a hundred of those if I could use a popup menu, ala
      > completion ctrl-n/p, just a alphebetized list.
      > How can I do that?
      > --
      > MK <halfcountp...@...>

      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

      To unsubscribe, reply using "remove me" as the subject.
    • Show all 8 messages in this topic