vim-docker-tools


Ⅰ. 插件描述

Toolkit for managing docker containers in vim.

Ⅱ. 基本信息

创建日期:  2017-12-28
使用用户:  8
Github星:  70
插件作者:  Kevin

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'kevinhui/vim-docker-tools'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'kevinhui/vim-docker-tools'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'kevinhui/vim-docker-tools'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/kevinhui/vim-docker-tools

Ⅳ. 文档说明

# vim-docker-tools
demo

  • 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

Contributing

Feel free to raise any questions/issues/comments. Submit pull request as you want.

添加新评论