vim-uci


Ⅰ. 插件描述

Vim syntax, ftdetect and ftplugins for openwrt's Unified Configuration Interface files.

Ⅱ. 基本信息

创建日期:  2015-12-01
使用用户:  3
Github星:  7
插件作者:  Colin Caine

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-uci

Tiny, simple ftdetect, ftplugin and syntax scripts for OpenWRT's Unified
Configuration Interface files.

Don't have vim on your router? I don't either, but this works great with sshfs.

Bonus features

ftplugin/uci.vim sets commentstring correctly, so tpope's
vim-commentary works as intended!

Installation

If you don't have a preferred installation method, I recommend installing
pathogen.vim, and then simply copy and
paste:

cd ~/.vim/bundle
git clone git://github.com/cmcaine/vim-uci.git

Vundle, etc. will probably work fine too.

License

Copyright Colin Caine. GPL v3.

添加新评论