Monday, December 19, 2011

Re: vim vs. ebooks

> On Sunday, December 18, 2011 2:40:10 PM UTC+2, MarcWeber wrote:
>> Think about the *why* you're asking for Vim - and then write again. We
may find other workarounds for you.
>
> on a more serious note I may only say that since vim has incredible
opportunities for manipulating text it seems only logical for me to
reformat ebooks w/ vim for easier reading (i.e., make shorter lines,
highlight bold text, quotes, etc, etc). and if already using vim for
"preparing text", I see absolutely no reason to go for another tool for
reading

I use vim to edit epubs -- saw the tip here from the creator of Calibre:
<http://www.mobileread.com/forums/showthread.php?t=103114>

Quote:
> I just discovered that vim can open and edit files inside a zip file
> automatically, which of course means it can do the same for epub.

> Add the following to your .vimrc:

> Code:

>> au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))

Maybe this will be useful.

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

No comments: