Sunday, November 3, 2013

Error browsing epub (zip) files (cdpath)

I have the following in my .vimrc for exploring .epub files:

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

It works, but when I open any of the files in the zip archive, I get the following error:

    Error detected while processing BufEnter Auto commands for "*":
    E344: Can't find directory "zipfile:/Users/chris/Dropbox/ebooks/calibre-library/Aesop/Aesop's Fables (688)" in cdpath
    E472: Command failed

Though the file does open. Is this related to the spaces in the filename, perhaps?

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.

No comments: