Skip to content

Add space and ctrl-b keybindings to page down/up #6

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

maoe
Copy link

@maoe maoe commented Jun 6, 2024

They are the same key bindings as less.

@asayers
Copy link
Owner

asayers commented Jun 6, 2024

Looking at the manpage, it looks like less accepts 'b' with or without a ctrl modifier. If we mimic that behaviour we can simplify the code a bit. I'll confirm that less actually behaves this way when I get home.

@asayers
Copy link
Owner

asayers commented Jun 6, 2024

While we're at it, should we also add 'f' for pagedown?

@maoe
Copy link
Author

maoe commented Jun 10, 2024

Sure

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

Successfully merging this pull request may close these issues.

2 participants