Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
trietphm committed Oct 28, 2018
1 parent a98e72b commit d881a51
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# pdfjs
Electron app for viewing PDF with simple vim binding
Electron app for viewing PDF with simple vim binding.

Using:
- Electron https://github.com/electron/electron
- PDF.js https://mozilla.github.io/pdf.js/

Update keyboard shortcuts:
- PDF.js support many keyboard shortcuts https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#what-are-the-pdfjs-keyboard-shortcuts, but unfortunately does not support j/k to move up/down.
- Switch old `j`/`k` (page down/page up) to `d/u`
- Implement new keybind `j`/`k` to move `down`/`up`

# Install

```
npm install
npm start
```

0 comments on commit d881a51

Please sign in to comment.