3 ms·
> PDF.js dev here I'm so sorry about being forward but why the hell don't the vim keys (hjkl) smooth scroll? Its so frustrating. Is there an option to set it a
by torresjrjr 6y ago
> PDF.js dev here
I'm so sorry about being forward but why the hell don't the vim keys (hjkl) smooth scroll? Its so frustrating. Is there an option to set it as so? Using the arrow keys is so cumbersome.
- tarikozket 6y agohere, I'll make it easier for you to contribute to the project by providing you with the lines you'd need to update: https://github.com/mozilla/pdf.js/blob/83e1bbea6e23db8744420f70d8fb943962c867dd/web/app.js#L2861 https://github.com/mozilla/pdf.js/blob/83e1bbea6e23db8744420... https://github.com/mozilla/pdf.js/blob/83e1bbea6e23db8744420f70d8fb943962c867dd/web/app.js#L2899 https://github.com/mozilla/pdf.js/blob/83e1bbea6e23db8744420...
- mavsman 6y agoBrilliant
- colejohnson66 6y agoBecause not everyone uses Vim?
- cpeterso 6y agoPDF.js already supports h/j (and p/n) keys to page up and down. (I added them years ago. :) I think GP is asking for the keys to scroll the page by smaller steps instead of page up and down.