feat(ui): toggle to show plugin URLs on home page #1423
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
I like using the entire summary (home) page of lazy.nvim as an easy copy/paste list of all my plugins, but I wanted each of the plugins to have their Github links right next to them as well. This would make finding your way to a specific plugin's repo a bit easier with all the links in the summary being there and copyable/clickable, and it's just a nice thing to have visually if you copy the whole list.
Proposal
Create a field
urls
that is toggled with theT
key to show each plugin's Github url inline under the plugin list. The default state is off obviously to not clutter the screen if you don't want it, and the look is modified with the following additions to the config defaults underui
:Before
After
The URL at the end of the line is hidden when clicking into the details of a plugin in the list, since it's visible there next to "url:", and plugins that are loaded locally or whatever that don't have have a
url
attribute remain unchanged.