Skip to content

earthshrink/pdfcurse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

PDF reader using python curses

PDFcurse is a terminal text oriented reader for PDF documents using Python curses to provide a user interface similar to Evince. In this initial incarnation, it wraps around pdftotext, and is somewhat redundant over the less command in Linux systems.

What it does additionally like Evince is watching the PDF file, so PDFcurse can be used say in a Tmux pane while working on its LaTeX source in another pane.

One thing I did do differently, just to think outside the Vim box, is to use left hand keys in the QWERTY layout, mainly because 35 years of Vi and Vim editing, and the mouse, 15 years of driving on commute, and the 700+ techniques of kenpo and almost all the weapon forms in martial arts have worn down out my right side.

Installation

TBD

How to use

Just run

pdfcurse file

And use:

key mnemonic command
a aft move backward by one page
f fore move forward by one page
g go to pops a text box for page number and takes you there (programmer's fantasy!)
e east pan to the right
w west pan to the left
j vertical (down) pan/scroll down 1 line
k reverse vertical (up) pan/scroll up 1 line
v vertical (down) pan/scroll down by 5 lines
r reverse vertical (up) pan/scroll up by 5 lines
c continuous mode (toggle) if set, scroll up/down, else pan
/ forward search reuses previous search string if empty - reset by '.'
? reverse search reuses previous search string if empty - reset by '.'

About

A curses based text viewer for PDF files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages