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

Feature request: One-button hotkeys on tools #40

Closed
Shura0 opened this issue Apr 23, 2018 · 1 comment
Closed

Feature request: One-button hotkeys on tools #40

Shura0 opened this issue Apr 23, 2018 · 1 comment

Comments

@Shura0
Copy link
Contributor

Shura0 commented Apr 23, 2018

IT would be cool to have one-button hotkeys for tools selecting.
For example:
P for moving tool (now it's Ctrl+Shift+P)
Z for zoom (now it's Ctrl+Shift+Z)
etc...

@rnorris
Copy link
Collaborator

rnorris commented Jun 28, 2018

You can override the existing keybindings, this is covered in the manual (2.9 Keyboard Configuration).

Keyboard configuration is supported by the standard GTK+ way of changing shortcuts for menu entries.
Hover over the menu option with the mouse pointer and press the keyboard shortcut you want to bind it to.
To delete a keyboard assignment, press Backspace whilst over the menu entry.

Note however that setting things like Tools->Pan to one button "p" (or even shift+P), means you can no longer use those characters when trying to type something in the left hand panel (e.g. to change the name of a track) as that keystroke is routed to the Tool Action.
I'm not sure if this is a bug or 'feature'.

Thus for single key use for tools you probably want to consider keys you'd be unlikely to type into layer names e.g. various punctuation or symbol characters such as: ` [ ]

rnorris added a commit that referenced this issue Feb 24, 2021
Revert main key handler back to being on the viewport.

Arrow keys move the viewport around.
Except when a track or route selected, then the left and right keys select the previous or next trackpoint respectively.
Also when a track/route is selected, then '[' or KP- inserts a trackpoint before the selected point,
whilst a ']' or KP+ inserts a trackpoint after the selected trackpoint.
'ctrl+d' delete the selected trackpoint or waypoint.

'p' -> Pan Tool
'r' -> Ruler Tool
's' -> Select Tool
'z' -> Zoom Tool
@rnorris rnorris closed this as completed Feb 24, 2021
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

No branches or pull requests

2 participants