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

Go to page, vim style #35

Closed
wants to merge 6 commits into from
Closed

Conversation

AaronVerDow
Copy link
Contributor

This is a modification of #17 that uses vi style keys to change pages.

Type :, enter a number, then press enter to jump to the page.

There aren't really usage instructions yet so I just added a comment to the config for now.

The is_changing_page flag isn't strictly required for this change but I thought it would be good to keep in case more uses for number keys appear in the future.

@Eloitor
Copy link
Contributor

Eloitor commented Feb 8, 2025

does it make sense to store the jumps, allowing the user to go back?

@AaronVerDow
Copy link
Contributor Author

does it make sense to store the jumps, allowing the user to go back?

I'm open to this. Double backtick seems to be the closest vi keybinding (when using : for changing pages).

Looking at the code I think we're going to need some better logic/structures to handle leader keys properly.

@freref
Copy link
Owner

freref commented Feb 20, 2025

Closing in favor of #45 which continues this work

@freref freref closed this Feb 20, 2025
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.

4 participants