* MK <[email protected]> [2010-04-02 04:09]: > 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?
well, how about using *abbreviations* for all these? iab Yfor for(i=0;i ;i++) iab Yvec vector< >::iterator it = xxx.begin(), end = xxx.end() iab Ywhi while (my ($k,$v) = each % then you might see all available abbreviations with ":iab Y". not a menu.. rather a workaround. but one that's easily done. :-) Sven -- 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.
