I have a directory of files named such:
amalek-pages_01-Blot.png
amalek-pages_02-New.png
amalek-pages_03-Adipose.png
...
I need to create a series of HTML sections like such:
<section>
<img width="550" height="650"
src="pages/amalek-pages_01-Blot.png" alt="Blot">
</section>
<section>
<img width="550" height="650"
src="pages/amalek-pages_02-New.png" alt="Blot">
</section>
<section>
<img width="550" height="650"
src="pages/amalek-pages_03-Adipose.png" alt="Blot">
</section>
...
Tab completion on filenames helps, but with 55 images I have to
navigate through the list further and further for each section...and I
don't see a good way to jump directly to a particular entry in the
completion list (if I could, problem solved: I could just start the
completion and type "15" or "16" etc).
Where do I start automating something like this with Vim?
c
--
Chris Lott <chris@chrislott.org>
--
--
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.
Thursday, October 31, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment