Ⅰ. 插件描述
Toolkit for managing docker containers in vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kkvh/vim-docker-tools-lives-by-it'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kkvh/vim-docker-tools-lives-by-it'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kkvh/vim-docker-tools-lives-by-it'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kkvh/vim-docker-tools
Ⅳ. 文档说明
# vim-docker-tools
- Open DockerTools Panel with
:DockerToolsOpen
, close it with:DockerToolsClose
- Toggle DockerTools Panel with
:DockerToolsToggle
- Set Docker daemon host with
:DockerToolsSetHost
- Support
:ContainerStart
,:ContainerStop
,:ContainerRemove
,:ContainerRestart
,:ContainerPause
,:ContainerUnpause
,:ContainerLogs
. For details please check out the documentation (:help docker-tools-commands
). - Autocompletion for container commands
- Full documentation in
:help vim-docker-tools
Install
Pathogen
git clone https://github.com/kevinhui/vim-docker-tools.git ~/.vim/bundle/vim-docker-tools
Vim-plug
Plug 'kevinhui/vim-docker-tools'
NeoBundle
NeoBundle 'kevinhui/vim-docker-tools'
Vundle
Plugin 'kevinhui/vim-docker-tools'
Manual
- Copy all of the files into your
~/.vim
directory
- Copy all of the files into your
Contributing
Feel free to raise any questions/issues/comments. Submit pull request as you want.