fast-p

command module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2018 License: MIT Imports: 10 Imported by: 0

README

fast-p

Quickly find and open a pdf among a collection of thousands of unsorted pdfs through fzf (fuzzy finder)

Installation

  • install pdftotext. This comes with the texlive distribution on linux or with poppler on OSX.
  • install fzf: https://github.com/junegunn/fzf
  • install xxhash: https://github.com/Cyan4973/xxHash
  • install grep, ack and ag (silver searcher)
  • clone the repository: $ git clone https://github.com/bellecp/fast-p.git
  • add a line source fast-p/p to your .bashrc or .bash_profile
  • Run the command p. The first run of the command will take some time to cache the text extracted from each pdf. Further runs of the command will be much faster since the text extraction will only apply to new pdfs.

Usage

  • Run the command p and start typing keywords to search for pdf.
  • Type "enter" to view the pdf in the default viewer

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL