vim-zsh-completion


Ⅰ. 插件描述

omnicompletion via zsh's completion engine

Ⅱ. 基本信息

创建日期:  2013-10-04
使用用户:  7
Github星:  38
插件作者:  Vincent Breitmoser

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-zsh-completion

This is a vim omnicompletion which captures completions from zsh's completion

  1. This is an application of
    this zsh completion

capturing method.

Demo

demo

Status

The script works reasonably well for most cases I tested.

While it does work reasonably well, the way completion results are gathered
from zsh is a HUGE HACK, so don't be too surprised with inexplicable behavior.

Installation

Install using vundle:

Bundle 'Valodim/vim-zsh-completion'
BundleInstall

The script is set as omnicompletion (^X^O) for zsh files automatically. It
plays well with YouCompleteMe from what I have seen, although it needs to be
manually triggered like most semantic completions.

You can also bind it to user completion (^X^U) for use outside of zsh script
files using:

:set completefunc=zsh_completion#Complete

添加新评论