Hi all,
Is there any command or any method that allows to include a file in the current file you are editing?
By including a file I don't mean to read it with :read and paste it. I mean something like
\include{file}
The semantic that I am looking can be (merely an example):
In normal mode, if some include is expanded, it deletes it contents and
replaces the \include statement
In insert mode, when the cursor is hover the line the include is written, vim
reads the file, and copy its content to the line the statement was.
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.
Thanks in advance,
Regards,
Javier.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Friday, August 16, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment