summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 7a95993..3e513d0 100644
--- a/vimrc
+++ b/vimrc
@@ -132,6 +132,9 @@ function! MyFoldText()
return sub . info
endfunction
+" open epub files as zip
+au BufReadCmd *.epub call zip#Browse(expand("<amatch>"))
+
" enable plugins depending on filetype
filetype plugin on