Ⅰ. 插件描述
Find out what the fuck that dependency isⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tsigo/vim-dependencywtf'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tsigo/vim-dependencywtf'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tsigo/vim-dependencywtf'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tsigo/vim-dependencywtf
Ⅳ. 文档说明
# vim-dependencywtf
Find out what the fuck that dependency is.

Installation
Recommended installation with Vundle:
Plugin 'tsigo/vim-dependencywtf'Supported package managers
- Bundler -
gem "rails", '4.0.0' - RubyGems -
s.add_dependency 'activesupport', [">= 4.0.0"] - Vundle -
Plugin "tpope/rails.vim" - Plug -
Plug 'tpope/rails.vim'
Configuration
Key mappings
Add your preferred key mappings to your .vimrc file.
map <Leader>dw :DependencyWTF<CR>Development
Issues and/or pull requests for additional package managers would be very much
appreciated.
Automated tests for the Vim plugin itself are made possible by the awesome
vimrunner gem. Make sure any
functionality you add has the appropriate test cases!
Running the specs:
gem install bundler
bundle install
bundle exec rakeHistory
1.0.3 (2015-05-14)
- Add vim-plug support.
1.0.2 (2015-02-26)
- Call
redraw!after opening
1.0.1 (2014-10-08)
- Fix startup warnings
- Add
DependencyWTFuser command
1.0.0 (2014-04-12)
- Initial release
Credits
License
vim-dependencywtf is copyright © 2014 Robert Speicher. It is free software, and
may be redistributed under the terms specified in the LICENSE file.