summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2011-11-24 17:56:09 +0100
committerSebastian Reichel <sre@ring0.de>2011-11-24 17:56:09 +0100
commitdc8bce5c5a6e93553a5aa5ed27bc9cb83caa3e25 (patch)
tree887a7a49a0f8a0d5efb280858ed6607297bc2376
parentb274076dcb55ce2f71c0d7878567465de08ff29c (diff)
downloadvim-config-dc8bce5c5a6e93553a5aa5ed27bc9cb83caa3e25.tar.bz2
open epub as zip
-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