Re: vim counterpart for persistent includes

2011-04-04 Thread Mikolaj Machowski
On Friday 01 of April 2011 17:48:11 Tim Gray wrote: > I'm a new user of vim and am currently evaluating it for my uses. I'm > coming from BBEdit. One of the features of BBEdit that I've found useful > is the 'persistent include.'* It's mostly used for HTML. The idea behind > it is that you can

Re: vim counterpart for persistent includes

2011-04-02 Thread Tim Gray
On Apr 02, 2011 at 11:07 AM +0200, Marc Weber wrote: This only seems to be useful to me until you learn a proper programming language / template engine. For the most part I don't find it necessary, but every once in a while, it can save a lot of time. Particularly in helping to maintain older

Re: vim counterpart for persistent includes

2011-04-02 Thread Marc Weber
Excerpts from Tim Gray's message of Fri Apr 01 17:48:11 +0200 2011: > > file contents that are inlined. > This only seems to be useful to me until you learn a proper programming language / template engine. If you can't find a plugin for that yet you can script it up easily eg using

Re: vim counterpart for persistent includes

2011-04-01 Thread Tim Gray
On Apr 01, 2011 at 06:27 PM -0500, Tim Chase wrote: I don't know of anything pre-existing, but I whipped up this which reads in the file: Wow, thanks! I'll see if it suits my needs. You don't mention how these replacements are triggered (it might have been in the bbedit website)...on-read? o

Re: vim counterpart for persistent includes

2011-04-01 Thread Tim Chase
On 04/01/2011 10:48 AM, Tim Gray wrote: I'm a new user of vim and am currently evaluating it for my uses. I'm coming from BBEdit. One of the features of BBEdit that I've found useful is the 'persistent include.'* It's mostly used for HTML. The idea behind it is that you can specify a file in

vim counterpart for persistent includes

2011-04-01 Thread Tim Gray
I'm a new user of vim and am currently evaluating it for my uses. I'm coming from BBEdit. One of the features of BBEdit that I've found useful is the 'persistent include.'* It's mostly used for HTML. The idea behind it is that you can specify a file in an HTML comment, and when you 'update'