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

Could the Action Mouse Key be bound to force click with one finger of the trackpad of mac? #385

Open
Prague2049 opened this issue Sep 30, 2023 · 6 comments

Comments

@Prague2049
Copy link

After using hyperbole, I think its function is very magical.
The trackpad of a Mac does not have a middle button. Could the Action Mouse Key of hyperbole be bound to force click with one finger of the trackpad of mac?

@rswgnu
Copy link
Owner

rswgnu commented Sep 30, 2023 via email

@Prague2049
Copy link
Author

Thank you very much!This is very wonderful!
(define-key hyperbole-mode-map (kbd "<mouse-3>") 'action-key)
I achieved this with the settings above.
I am very looking forward to when Hyperbole 9 will be released?

@rswgnu
Copy link
Owner

rswgnu commented Oct 1, 2023

We hope soon, as it is close!

@Prague2049
Copy link
Author

The very smart mouse drag function of Hyperbole left a very deep impression on me.
I have a suggestion about mouse dragging and link building, see if it can be implemented?
I want to link the headline in one org file to the headline in another org file. When I drag the headline (include asterisks)of the source org file to the headline in the target org file with the mouse, a link will be automatically established in the target org file and the org-id will be added to the headline of the source org file.
The details as follows :
The headline in the source org file is:
*Item2
The headline in the target org file is:
*Item1

After dragging,
The source org file is:

  • Item2
    :PROPERTIES:
    :ID: 8E7514E0-0E2B-46D3-AB4A-F88F2720662E
    :END:

The target org file is:

  • Item1
    [[id:8E7514E0-0E2B-46D3-AB4A-F88F2720662E][Item2]]

@rswgnu
Copy link
Owner

rswgnu commented Oct 5, 2023

Interesting idea. Let us think on it. In hyperbole parlance the source buffer is where the new link is placed, and the referent or target is where the item linked to lives. So any drag would be from the source of the link to be created to the referent. V9 can make similar links with just a key press when you have the just the two buffers on screen. We would just need to add this specific link format.

@Prague2049
Copy link
Author

That would be cool!👍

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