Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants