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: open repo URL with keymap #1430

Closed
1 task done
igorlfs opened this issue May 4, 2024 · 2 comments · Fixed by #1400
Closed
1 task done

feature: open repo URL with keymap #1430

igorlfs opened this issue May 4, 2024 · 2 comments · Fixed by #1400
Labels
enhancement New feature or request

Comments

@igorlfs
Copy link

igorlfs commented May 4, 2024

Did you check the docs?

  • I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.

Currently, when using <K> on a plugin, a diff is opened. However, this diff compares HEAD to itself, which isn't very useful.

Describe the solution you'd like

Instead of diffing, if <K> is used on a plugin, it could open the repo's URL.

Describe alternatives you've considered

If updating the <K> isn't desired, perhaps another mapping could be used to launch the URL? gx, for instance.

Additional context

No response

@igorlfs igorlfs added the enhancement New feature or request label May 4, 2024
@dpetka2001
Copy link
Contributor

If you press <CR> on the plugin it will open up details. If you press K on the url it will open the repo's url.

@igorlfs
Copy link
Author

igorlfs commented May 4, 2024

I'm aware, but I do find the extra key press a little annoying

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