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

Add support to install script into a specific directory. #200

Closed
wants to merge 1 commit into from

Conversation

weynhamz
Copy link
Contributor

@weynhamz weynhamz commented Aug 6, 2012

Sometimes we may want to specify the directory name which the script will be installed to, Eg, distinguish plugins, colors and syntax with different prefix.

Here is my current Bundle configurations with this patch.

" let Vundle manage Vundle
" required!
Bundle 'gmarik/vundle', {'dir': 'vundle'}

Bundle 'majutsushi/tagbar', {'dir': 'plugin-tagbar'}
Bundle 'techlivezheng/tagbar-phpctags', {'dir': 'plugin-tagbar-phpctags'}
Bundle 'scrooloose/nerdtree', {'dir': 'plugin-nerdtree'}
Bundle 'wincent/Command-T', {'dir': 'plugin-command-t'}
Bundle 'msanders/snipmate.vim', {'dir': 'plugin-snipmate'}
Bundle 'fholgado/minibufexpl.vim', {'dir': 'plugin-minibufexpl'}
Bundle 'tpope/vim-surround', {'dir': 'plugin-surround'}
Bundle 'tpope/vim-repeat', {'dir': 'plugin-repeat'}
Bundle 'altercation/vim-colors-solarized', {'dir': 'colors-solarized'}
Bundle 'bufkill.vim', {'dir': 'plugin-bufkill'}
Bundle 'tomtom/checksyntax_vim', {'dir': 'plugin-checksyntax'}
Bundle 'tomtom/quickfixsigns_vim', {'dir': 'plugin-quickfixsigns'}
Bundle 'Lokaltog/vim-powerline', {'dir': 'plugin-powerline'}
Bundle 'plasticboy/vim-markdown', {'dir': 'syntax-markdown'}

@gmarik
Copy link
Contributor

gmarik commented Aug 11, 2012

there's a fix for this already(not pushed to master yet).
But it uses the fact that one can override name of the plugin in options, like

 Bundle 'tpope/vim-surround', {'name': 'plugin-surround'}

I'll merge the fix to master and let you know.

Closing this as duplicate.

@dathinaios
Copy link

Hi there :)

Has this functionality been added? I tried the 'dir' and the 'name' syntax but it doesn't work…

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