Hi,

I'm currently investing some time learning vim and setting my .vimrc up. Doing 
so I've come across a problem I couldn't solve myself. I'm using the 
AutoComplPop Plugin so that the Omnicomplete "Window" pops up automatically. I 
also enabled the Preview Window through this command in my .vimrc

let g:acp_completeoptPreview = 1

But everytime the preview window pops up the Omnicomplete popup vanishes, In 
large lists I am able to see the last entries in the status line. Even more 
strange when i navigate in the invisible list an reach the " " entry alias 
"Back at original" the whole list pops up and is visible.

I allready changed the cholorscheme and switched to gvim but the error stays 
the same.

I attached my .vimrc, I hope someone knows what the problem is.

Regards

Benjamin Isbarn

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


" load pathogen plugin
execute pathogen#infect()

" set mapleader to ","
let mapleader = ","

" set 256 Colors
set t_Co=256

" set colorscheme
colorscheme molokai

" set syntax highlighting
syntax on

" highlight cursors row and column
set cursorline
set cursorcolumn

" set auto indent on
filetype plugin indent on

augroup myvimrchooks
  au!
  " auto reload .vimrc
  autocmd bufwritepost .vimrc source ~/.vimrc
  " disable cursorcolumn in taglist view
  autocmd VimEnter,WinEnter,BufWinEnter __Tag_List__ setlocal nocursorcolumn
  " close preview window on movement in insert mode or when leaving insert mode
  autocmd CursorMovedI * if pumvisible() == 0|pclose|endif
  autocmd InsertLeave * if pumvisible() == 0|pclose|endif
augroup END

" enable mouse in console and GUI
set mouse=a

" show linenumbers
set number

" set makeprg for python -> TODO Only change when python file is loaded
set makeprg=clear&python2\ %

" set indentation to 2 space
set expandtab
set shiftwidth=2
set softtabstop=2

" ------------ Plugin specific ------------
"
" ------------ AutoCompletePop ------------   
"  
"  Enable Preview Window
let g:acp_completeoptPreview = 1

" ------------     Taglist     ------------
"  TODO find a way to switch between tagview and last buffer
" Key binding for Toggle Taglist
nnoremap <silent> <Leader>tt :TlistToggle<CR>
nnoremap <silent> <Leader>tu :TlistUpdate<CR>

" ------------     NERDTree    ------------
"  Key bindings for NERDTree
nnoremap <silent> <Leader>n :NERDTree<CR>
nnoremap <Leader>w <C-W>w

Reply via email to