Wednesday, May 12, 2021

See the contents of an included file

Hi,

I'm a tech writer and I use Vim for all my writing. Currently we are authoring in Markdown. To save time and keep consistency, I've been using include files for boilerplate text. It is usually of a form:

#include doc/site/pages/include/sample.tmpl

Just having that line in another file, I was wondering if there was a way I could expand the contents, temporarily, so I could read the text in the current flow while still keeping it in its include location? Kind of like folding/unfolding.

Any help is appreciated!

Thanks,

Russ

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/2134195416.281210.1620839005520%40mail.yahoo.com.

No comments:

Post a Comment