Hi Javier,

talk about your use case, not what you want.

Replacing \include looks to me you want text snippets such as
http://vim-wiki.mawercer.de/wiki/topic/text-snippets-skeletons-templates.html
(this page is incomplete).

> Basically, I would like to have a conceal behaviour for such an order
> that loads a file as is in that moment so changes in the file included
> are reflected in the file that includes it.

SVN (version control system) can do so replacing revision numbers.
Some editors (or vim plugins?) allow special markers which get replaced.

Implementing such yourself is easy: On opening file use search( function
to find START marker, use /END_MARKER<cr> to select everything till
END_MARKER,
then use whatever you like to replace it with something else.

You may still consider thinking about your design, an alternative is to
have such file layout:

templates/footer

mail-with-template-markers.txt: containing:
  \include{footer}

Then have postprocessing which inserts footer into the mail and saves it
to
results/mail-ready.txt

So it all depends on your true use case which you didn't talk about.

Marc Weber

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to