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

feat: add shortcuts for forwards/backwards #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChildishGiant
Copy link

#73 I tried to add granite tooltips too but had no luck so didn't bother

Comment on lines +58 to +66
var forwards_action = new SimpleAction ("forwards", null);
add_action (forwards_action);
set_accels_for_action ("app.forwards", {"<Control>D"});
forwards_action.activate.connect (window.forwards);

var backwards_action = new SimpleAction ("backwards", null);
add_action (backwards_action);
set_accels_for_action ("app.backwards", {"<Control>A"});
backwards_action.activate.connect (window.backwards);
Copy link

@chances chances Jan 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Browsers commonly use Alt+Left and Alt+Right for backward/forward navigation.

Consider changing this to match.

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.

None yet

2 participants