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

Adding context to listed bundles #302

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hkjels
Copy link

@hkjels hkjels commented Jun 5, 2013

Opening of the github-page of the bundle below the cursor using the
keymap 'o'. Since search only returns the bundle-name, it will open the
vim-scripts/bundle-name version. From the :BundleList however it will
work as expected. Unfortunately, the open command here only works on
MacOs.

Opening of the github-page of the bundle below the cursor using the
keymap 'o'. Since search only returns the bundle-name, it will open the
vim-scripts/bundle-name version. From the `:BundleList` however it will
work as expected. Unfortunately, the open command here only works on
MacOs.
@jdevera
Copy link
Contributor

jdevera commented Jun 7, 2013

Vundle uses a json file generated by a scrapper from the vim-scripts project to get all the script names. The ideal would be for that json file to have a short description to show on the search results.

This option is not bad, but we cannot merge a pull request unless we at least suspect it will work on Windows/Linux/Mac.

Perhaps you could use a conditional for this to determine the OS and use the "open" equivalent. I think it's open in Windows and xdg-open in Desktop Distributions of Linux.

@MarcWeber
Copy link

@jdevera: Why not? You can throw "this feature is only supported on linux" easily.

vim-addon-manager has the :VAMPluginInfo (formerly AddonInfo) command

sample output:

Plugin: vim-addon-commenting
Script number: 3977
Vim.org page: http://www.vim.org/scripts/script.php?script_id=3977
Home page: https://github.com/MarcWeber/vim-addon-commenting
Source URL: git://github.com/MarcWeber/vim-addon-commenting (type git)

While this does not yet open a browser it comes close - and it also shows that showing one page might not be enough ?

@jdevera
Copy link
Contributor

jdevera commented Feb 12, 2014

@MarcWeber Because doing it right is only a little more effort than documenting that we didn't do it right.

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.

None yet

3 participants