#StackBounty: #vimrc #autocompletion #microsoft-windows Why AutoComplPop plugin can't automatically opens popup menu for js complet…

Bounty: 100

Environment:win7+vim.

1.Install vim in “C:Program FilesVim”.
2.Download git for windows and install it.

Install pathogen as my vim’s plugin manager.
Opne git for windows as administrator.

cd "C:Program FilesVimvim80autoload"
git clone https://github.com/tpope/vim-pathogen

Install all kinds of complete plugin.

cd "C:Program FilesVimvimfiles"
mkdir bundle
cd bundle
git clone https://github.com/vim-scripts/AutoComplPop
git clone https://github.com/SirVer/ultisnips
git clone https://github.com/honza/vim-snippets

My setting in _vimrc file.

execute  pathogen#infect ()
syntax on
filetype plugin indent on

let g:UltiSnipsExpandTrigger="<c-c>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
let g:UltiSnipsEditSplit="vertical"

set  nocp
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS

As the AutoComplPop plugin doc states:The AutoComplPop plugin automatically opens popup menu for completions as you type.

When i edit test.js file,input document.get, no popup menu automatically opens.
press ctrl+x and ctrl+o ,popup menu opens now.

enter image description here

How to make AutoComplPop plugin automatically opens popup menu for js completions?

iamp . <c-x> <c-o> can make complete menu pop up automatically by two continious .. , for example, document.. can expand as below.

enter image description here

How to make a single . followed by document expand as above(win7+vim)?


Get this bounty!!!

Leave a Reply