sponsor Vim development Vim logo Vim Book Ad

autocomp.vim : Auto-complete VIM script tailored for those with RSI

 script karma  Rating 6/5, Downloaded by 1325    Comments, bugs, improvements  Vim wiki

created by
André dos Santos
script type
The purpose of this script is to allow the user to auto-complete a word without having to first press a key combination to open up the list of options, and then have to press more keys (usually the arrow keys) until you get to the word you want to type. With this script, you type a letter or two, and then the number that represents the word that you want to type. The idea is to have the user press as few keys as possible for an auto-completion.

This script is made for people who cannot type as much as they used to anymore. It will probably slow you down somewhat initially, but if you're looking for this script, you're probably not worried about speed.
Until someone figures out how to connect speech recognition to VIM in a useful way, this may help.  :-)

Documentation and usage instructions are in the file autocomp.vim.
install details
Copy autocomp.vim to the VIM plugin's directory.
On Windows, this would be: ...\vimfiles\plugin\.
On Linux: ~/.vim/plugin/.

Use the F5 key to open the auto-complete window.
You can customize the key using something like the following in your VIM rc file:
nmap <unique> <...> <Plug>AutocompStart

Also available at:

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
autocomp.vim 1.1.1 2010-11-08 7.0 André dos Santos Minor bug fix.
autocomp.vim 1.1 2010-10-25 7.0 André dos Santos Smarter auto-complete buffer.
Moved auto-complete window to the left.
autocomp.vim 1.0.1 2010-05-16 7.0 André dos Santos The previous version didn't work on Linux because the file was saved with Windows line endings. Switched to UNIX line endings.
autocomp.vim 1.0 2010-05-15 7.0 André dos Santos Initial upload
ip used for rating:

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