Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to add or change shortcuts? #684

Open
raphaelfournier opened this issue Sep 20, 2022 · 2 comments
Open

Is it possible to add or change shortcuts? #684

raphaelfournier opened this issue Sep 20, 2022 · 2 comments
Labels

Comments

@raphaelfournier
Copy link

When going forward with a presentation, one can use 5 keys (down, right, PgDn, j, space). 4 of these "forward" have a "backward" counterpart (resp.: up, left, PgUp, k), but not space. In several other programs, one may use Shift-Space to go backward. Would it be possible with remark?
Space is what I use the most to go forward, I would find it very convenient to have Shift-Space to go backwards…

Looking at the code, I guess there is a bit of work because the modifiers are currently unused.

@peterj
Copy link
Collaborator

peterj commented Sep 20, 2022

I think the space & shift-space shortcut is already implemented.

@tripu tripu added the question label Sep 21, 2022
@raphaelfournier
Copy link
Author

That's great to know! I copy-pasted the fix you mention in my local version, and it works. It does not appear in the "help" screen, though.

However, I don't see it in use on the on https://remarkjs.com/#6 website (it does not work and it's not in the "help screen" for keybindings). And I don't see it in the https://gnab.github.io/remark/downloads/remark-latest.min.js that my page calls by default, according to the template provided here.

So: Is it only in a specific/development version? What should I do to use the downloadable js version with this shortcut?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants