Commit d6a09074 authored by Etienne Nadji's avatar Etienne Nadji

ViewMetadatas on prospect commands. Reindentation in NewEPUB.

	modifié :         plugin/vim_epub.vim
parent c5516e76
......@@ -963,10 +963,14 @@ if new_file:
fname = buffer.name
real_path = os.path.realpath(fname)
if fname in files: continue
if fname == new_file: continue
if not os.path.exists(real_path): continue
if fname.endswith(".epub"): continue
if fname in files:
continue
if fname == new_file:
continue
if not os.path.exists(real_path):
continue
if fname.endswith(".epub"):
continue
files.append(fname)
......@@ -1011,6 +1015,7 @@ au BufReadCmd *.epub command! LinkToCss call LinkPageToCSS()
" Prospection
au BufReadCmd *.epub command! FindFontDefinition call FindFontDefinition()
au BufReadCmd *.epub command! ViewMetadatas call ViewMetadatas()
" Files manipulation
au BufReadCmd *.epub command! RenameFile call RenameFile()
......@@ -1020,9 +1025,6 @@ au BufReadCmd *.epub command! DiffLastEPUB call DiffLastEPUB()
au BufReadCmd *.epub command! MergeFiles call MergeFiles()
au BufReadCmd *.epub command! RemoveUnusedMedias call RemoveUnusedMedias()
" Metadatas
au BufReadCmd *.epub command! ViewMetadatas call ViewMetadatas()
" Opening things in an external program
au BufReadCmd *.epub command! OpenReader call OpenReader()
au BufReadCmd *.epub command! OpenMedia call OpenMedia()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment