-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |