Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/rhysd/open-pdf.vim

Convert pdf file to plain text, cache it and open it quickly in vim using pdftotext.
https://github.com/rhysd/open-pdf.vim

Last synced: 10 days ago
JSON representation

Convert pdf file to plain text, cache it and open it quickly in vim using pdftotext.

Lists

README

        

Convert pdf file to plain-text file, cache it and open it in Vim.
=================================================================

### Commands
- `:Pdf path/to/pdf-file` converts, caches and opens the pdf-file.

- `:Unite pdf/history` displays histories you have ever opened.

### Dependency
`pdftotext` command must have been installed in advance to convert a pdf file and
unite.vim is required to use a unite interface.

### Auto Conversion
When a pdf file is edited with `:edit` or `:read`, conversion from pdf to txt is automatically executed and open the text file instead of pdf file. You must set `g:pdf_convert_on_edit` or `g:pdf_convert_on_read` to 1 to enable these features.

Read `doc/open-pdf.txt` to get more information.