Skip to content

Valodim/vim-zsh-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

vim-zsh-completion

This is a vim omnicompletion which captures completions from zsh's completion engine. This is an application of this zsh completion capturing method.

Demo

demo

Status

The script works reasonably well for most cases I tested. There is a corner case where descriptions aren't displayed for some prefix types which may or may not be fixed later on.

While it does work reasonably well, this entire script is a HUGE HACK. Don't expect more than proof of concept code quality. Also note the completion capturing script requires (at the time of this writing) a nightly version of zsh which includes the patch from here:

http://www.zsh.org/mla/workers/2013/msg00728.html https://github.com/zsh-users/zsh/commit/b0a0441902f848da4284e107c29e43e222252959

Installation

Install using vundle:

Bundle 'Valodim/vim-zsh-completion'
BundleInstall

Use as omnicompletion ftplugin for zsh files as usual (^X^O). Or bind to user completion (^X^U) with:

:set completefunc=zsh_completion#Complete

About

omnicompletion via zsh's completion engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published