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: extended hints support #302

Merged
merged 14 commits into from
Jan 4, 2024
Merged

feat: extended hints support #302

merged 14 commits into from
Jan 4, 2024

Conversation

ueokande
Copy link
Owner

@ueokande ueokande commented Jan 3, 2024

Support extended hints

This pull request adds support for extended hints. Extended hints are originally implemented in vimperator-labs. This change supports the following extended hints:

  • ;i: open an image in the current tab
  • ;I: open an image in a new tab
  • ;y: copy a link URL to the clipboard
  • ;Y: copy a link text to the clipboard
  • ;v: open a source URL in the current tab
  • ;V: open a source URL in a new tab
  • ;o: open a URL in the current tab
  • ;t: open a URL in a new tab
  • ;w: open a URL in a new window
  • ;O: open the console with :open and the selected URL
  • ;T: open the console with :tabopen and the selected URL
  • ;W: open the console with :winopen and the selected URL

It also rename the following command in key maps:

-    "f": { "type": "follow.start", "newTab": false },
-    "F": { "type": "follow.start", "newTab": true, "background": false },
+    "f": { "type": "hint.quick", "newTab": false },
+    "F": { "type": "hint.quick", "newTab": true, "background": false },

@ueokande ueokande marked this pull request as ready for review January 4, 2024 06:28
@ueokande ueokande merged commit 8065ae3 into master Jan 4, 2024
1 check passed
@ueokande ueokande deleted the extended-hint branch January 4, 2024 06:29
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.

1 participant