dockerfile.vim


Ⅰ. 插件描述

Vim syntax file & snippets for Docker's Dockerfile

Ⅱ. 基本信息

创建日期:  2013-09-11
使用用户:  1746
Github星:  602
插件作者:  Eugene Kalinin

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/ekalinin/dockerfile.vim

Ⅳ. 文档说明

Dockerfile.vim

Vim syntax file for Docker's Dockerfile
and snippets for snipMate.

Screenshot

Here is an example in gnome-terminal with vim-monokai color scheme:

Vim & Dockerfile.vim

Installation

$ git clone https://github.com/ekalinin/Dockerfile.vim.git
$ cd Dockerfile.vim
$ make install

Or using Pathogen:

# Clone directly into the bundle folder.
git clone https://github.com/ekalinin/Dockerfile.vim.git bundle/Dockerfile

Or using Vundle:

# near the top of your .vimrc
Plugin 'ekalinin/Dockerfile.vim'

Or using NeoBundle:

NeoBundle 'ekalinin/Dockerfile.vim'

License

See LICENSE file.

添加新评论