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 commit url with gx #1561

Closed
1 task done
antonk52 opened this issue Jun 26, 2024 · 0 comments · Fixed by #1565
Closed
1 task done

feature: open commit url with gx #1561

antonk52 opened this issue Jun 26, 2024 · 0 comments · Fixed by #1565
Labels
enhancement New feature or request

Comments

@antonk52
Copy link

Did you check the docs?

  • I have read all the lazy.nvim docs

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

In the lazy buffer you can open the commit under the cursor in the browser using K. K is referred to as hover in lazy code base and is a default mapping for lsp hover behaviour that does not take an user out of current buffer.

While this has been the case in lazy.nvim for as long as it has been around. I still stumble over it to this day and presume there are more users with this problem.

Describe the solution you'd like

It would be great if lazy.nvim would also set a keymap wrapper for gx for the lazy buffer to be able to open commits using the native key map to open something in the browser.

Describe alternatives you've considered

I can fix this for myself by adding a lazy buffer only key map for gx. But thought I would highlight it here as more people may stumble over it as I do.

Additional context

No response

@antonk52 antonk52 added the enhancement New feature or request label Jun 26, 2024
@folke folke closed this as completed in e3e4314 Jun 27, 2024
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.

1 participant