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

Long press on toolbar icons #686

Closed
Roccobot opened this issue Apr 12, 2024 · 2 comments · Fixed by #691
Closed

Long press on toolbar icons #686

Roccobot opened this issue Apr 12, 2024 · 2 comments · Fixed by #691
Labels
enhancement New feature or request

Comments

@Roccobot
Copy link

Roccobot commented Apr 12, 2024

Just like the long press on 'Paste' to just paste instead of opening the clipboard manager, it would be awesome to assign secondary functions to other pinned toolbar icons. It would be possible to have for instance 4 functions but only using 2 icon slots and saving a ton of space.

Meaningful examples:

Key Tap Tap + hold
Move cursor left Move cursor to the beginning of the line
Move cursor right Move cursor to the end of the line
Move cursor up Move cursor to the first line
Move cursor down Move cursor to the last line
📋 Copy selection Copy all
Undo Redo
Select word Select all

They might be hardwired or customizable (I guess this would be much harder).

Use case
Keeping more useful icons on the toolbar without sacrificing too much space.

@Roccobot Roccobot added the enhancement New feature or request label Apr 12, 2024
@codokie
Copy link
Contributor

codokie commented Apr 12, 2024

they all should be relatively easy to add and can be useful, thanks for the idea
same logic of the undo can be done for the redo button
would you mind if the move cursor up/down long press would be page up/down instead of first/last line?

@Roccobot
Copy link
Author

would you mind if the move cursor up/down long press would be page up/down instead of first/last line?

Sure, just a variation of the same idea. I'm glad it is something that can be implemented, thanks! 🤩

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

Successfully merging a pull request may close this issue.

2 participants