vim-simple-complete


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2016-07-25
使用用户:  19
Github星:  87
插件作者:  Maxime Boisvert

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# Vim Simple Complete

This plugin offers as-you-type keyword completion and tab complete in less than 100 lines of code.

In action : https://asciinema.org/a/5y5ggl0pseprxopox06a2vt5s

Requirements

vim version >= 7.4

Installation

With vim-plug:

Plug 'maxboisvert/vim-simple-complete'

Or use your prefered way.

Usage

As-you-type completion

After three (3) typed keywords (k), the completion menu becomes visible. Press Tab to select a match.

Tab Complete

Press Tab to trigger completion when the cursor is in front of a completable character. When the completion menu is visible, use Tab/Shift-Tab to rotate selection.

Options

See available options.

Tips

Personally, I don't use included files and tag complete for better performances. Add this to your vimrc for these options :

set complete-=t
set complete-=i

License

Copyright (c) 2016 Maxime Boisvert.

This program is distributed under the VIM LICENSE.

添加新评论