Hello,

"Harry Putnam" <[email protected]> :
> The difference is that trying to create a complicated format,
> especially a long one, can get really complicated in the iab system.

There exist a lot of template/skeleton expander plugins. Each has its own 
format. Most of them are listed there :
  http://vim.wikia.com/wiki/Category:Automated_Text_Insertion

I'm maintaining the fork of mutemplate.
The expansion in insert-mode is done with <c-r><tab> by default, you can bind 
it to any other keystrokes -- :h <Plug>MuT_ckword

You can specify where the cursor will jump to with placeholders like '<++>' (or 
any other string as it can be specified in each template-file) -- the cursor 
will jump to the first placeholder in the template-file.


XPtemplate should also answer yours needs. What its author has done with 
placeholders is really neat.

-- 
Luc Hermitte
http://lh-vim.googlecode.com/
http://hermitte.free.fr/vim/

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to