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

113510Re: What plugin would do this?

Expand Messages
  • caruso_g
    Apr 2 12:38 AM
    • 0 Attachment
      > 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?

      I use XPTemplate for that: http://www.vim.org/scripts/script.php?script_id=2611
      You can create your own snippets that will not be overridden by plugin
      All snippets with the same abbreviation will show a pop up menu to
      choose from ala ctrl-n/p
      You will also be able to set "tab" stops ala TextMate, multiple
      portion of the snippet and a lot of other interesting features.

      I hope this help.

      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