sponsor Vim development Vim logo Vim Book Ad

AmbiCompletion : Ambiguous completion

 script karma  Rating 4/1, Downloaded by 354    Comments, bugs, improvements  Vim wiki

created by
Shuhei Kubota
 
script type
utility
 
description
Description:
  This script provides an ambiguous completion functionality.
  For those who are forgetful.

  This script completes a word with not only starts-with match but also ends-with and contains match.

  This is a fork of Word Fuzzy Completion.
  vimscript #3857

  THIS IS BETA QUALITY.

Usage:
  Set completefunc to g:AmbiCompletion.

  like :set completefunc=g:AmbiCompletion

  If you have +python, you will get more speed.

Variables:

  (A right hand side value is a default value.)

  g:AmbiCompletion_richerSupportForMultibyte = 0
      gives up completion using Python (even though you have +python),
      and enables richer extraction of multibyte characters.

          0: Quicker and poorer multibyte support.
          1: x10 Slower and richer multibyte support.

  g:AmbiCompletion_allBuffers = 0
      decides from where to collect word samples.

          0: Collects from only in the current buffer.
          1: Collects from all over the buffers.

      Note this value is ignored when recher support for multibyte is enabled.
 
install details
Put this plugin in your plugin directory(e.g. $VIMRUNTIME/plugin).
Then source it or restart VIM.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
ambicompletion.vim 0.2b 2012-09-03 7.0 Shuhei Kubota fixed encoding handling in +python
ambicompletion.vim 0.2a 2012-08-05 7.0 Shuhei Kubota added encoding handling in +python.
added among-buffers collection by letting g:AmbiCompletion_allBuffers = 1.
ambicompletion.vim 0.1a 2012-05-05 7.3 Shuhei Kubota Initial upload
ip used for rating: 54.226.147.84

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo