Ⅰ. 插件描述
A Fish wrapper for Ian Bicking's virtualenv, based loosely on Doug Hellman's virtualenvwrapper for Bash.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'adambrenecki/virtualfish'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'adambrenecki/virtualfish'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'adambrenecki/virtualfish'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/adambrenecki/virtualfish
Ⅳ. 文档说明
# virtualfish
A Fish Shell wrapper for Ian Bicking's virtualenv, somewhat loosely based on Doug Hellman's virtualenvwrapper for Bourne-compatible shells.
You can get started by reading the documentation on Read The Docs. (It's quite short, I promise.)
You can also get help on #virtualfish on OFTC (ircs://irc.oftc.net:6697/#virtualfish), the same network as the Fish IRC channel.
Virtualfish is currently maintained by Justin Mayer, and was originally created by Leigh Brenecki.
A quickstart, for the impatient
pip install virtualfish- Edit
~/.config/fish/config.fish, adding a line that readseval (python -m virtualfish) - Add virtualfish to your prompt
vf new myvirtualenv; which python
See the docs to find out more about virtualenvwrapper emulation, auto-activation and other plugins, extending virtualfish with events, and more.