A Vim plugin for EPUB edition. Released under GNU GPL 3 (check LICENSE file).
With Vim, you can already edit an epub file and modify it's content, and save, and so on.
But the EPUB file is read-only: you can't add files and do many other things.
vim-epub is here to make you free of stupid tasks like extracting the EPUB, add the file you want to add, recompress in 2-steps the EPUB, re-open Vim.
Supported operating systems
- Mac OS
- GNU/Linux distributions
Short version: Vim-EPUB can’t work under Microsoft Windows.
Long version: See here.
You need a copy of Vim compiled with python support.
You need the
unzip programm in order to make zip.vim (built-in) work. It is frequently installed by default on newbies distributions like Ubuntu, Linux Mint…
In Debian-like GNU/Linux distributions:
sudo apt-get install unzip
You also needs
sudo apt-get install pandoc
Bundle 'https://github.com/etnadji/vim-epub'to .vimrc
git clone https://github.com/etnadji/vim-epub ~/.vim/bundle/vim-epub
NeoBundle 'https://github.com/etnadji/vim-epub'to .vimrc
Plug 'https://github.com/etnadji/vim-epub'to .vimrc
- Adding medias (XHTML, CSS, fonts, images…)
- Add a Table of contents page.
- Provide a menu to easily link XHTML and CSS contents.
- Merge, rename files embedded in the EPUB
- Check the differences between the current EPUB and another.