create a fill-in macro.

2007-03-15 Thread Eric Leenman

Hi,

Is it possible to create a fill-in macro in VIM?
For example:
Can you create and activate a macro that goes like this:
[Activate macro]
First-Name: [first fill-in place] Last-Name: [second fill in place] CR
Country: [third fill-in place]
[Macro ended]
So that when you fill this in you get in insert-mode this as plain text:

First-Name: Eric Last-Name: Leenman
Country: Holland

Rgds,

Eric

_
The average US Credit Score is 675. The cost to see yours: $0 by Experian. 
http://www.freecreditreport.com/pm/default.aspx?sc=660600bcd=EMAILFOOTERAVERAGE




Re: create a fill-in macro.

2007-03-15 Thread Thomas

Can you create and activate a macro that goes like this:
[Activate macro]
First-Name: [first fill-in place] Last-Name: [second fill in place] CR
Country: [third fill-in place]
[Macro ended]
So that when you fill this in you get in insert-mode this as plain text:

First-Name: Eric Last-Name: Leenman
Country: Holland


There are some plugins that do this:

http://www.vim.org/scripts/script_search_results.php?keywords=skeleton
http://www.vim.org/scripts/script_search_results.php?keywords=template

Regards,
Thomas.