sponsor Vim development Vim logo Vim Book Ad

Vim-EPUB : Plugin for EPUB ebooks' edition

 script karma  Rating 21/11, Downloaded by 2474  Comments, bugs, improvements  Vim wiki

created by
Etienne Nadji
script type
Github page: https://github.com/etnadji/vim-epub

With Vim, you can already edit an epub file with the builtin zip.vim.
But it's only a RO opening. If you want to add or remove files, you need to extract and recompress the EPUB. That's boring.

With Vim-EPUB, you can:

− Add an empty page (XHTML).
− Add an empty CSS stylesheet.
− Add a Table of contents page.
− Add medias (images, etc.).
− Make your OS open the EPUB with its selected reader.
− Provide a menu to easily link XHTML and CSS contents.

See https://github.com/etnadji/vim-epub/wiki/Features for a complete list.
install details
Vim-EPUB does not work under Windows, due to zip.vim limitations.

You need a Vim version compiled with python support.

The CleanFromExports command needs Pandoc: http://johnmacfarlane.net/pandoc/

For plugin managers:

Bundle 'etnadji/vim-epub'

Then :BundleInstall

Plug 'etnadji/vim-epub'

Then :PlugUpdate

git clone https://github.com/etnadji/vim-epub ~/.vim/bundle/vim-epub

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-epub.zip 0.6 2015-12-08 7.0 Etienne Nadji New commands: OpenMedia, FindFontDefinition.
g:VimEPUB_OpenCommand option becomes g:VimEPUB_EreaderCommand
Fixed french documentation (by junkblocker).
SMIL snippets in Extras.
vim-epub.zip 0.5 2014-10-29 7.0 Etienne Nadji Commands:
*CleanFromExports* Clean up epubs files typically made with Word & Calibre. Needs pydoc.
*NewEPUB*  Make a new EPUB from vim buffers
*ViewMetadatas* Show EPUB's metadatas (human readable)
vim-epub.zip 0.4 2014-09-06 7.0 Etienne Nadji RemoveUnusedMedias, UpdateToc commands.
vim-epub.zip 0.3 2014-09-01 7.0 Etienne Nadji Add DiffEPUB, DiffLastEPUB, MergeFiles commands.
Add two configuration variables.
vim-epub.zip 0.2 2014-08-29 7.0 Etienne Nadji RenameFile,BackupEPUB commands.
Various improvements.
vim-epub.zip 0.1 2014-08-18 7.0 Etienne Nadji Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.