Tuesday, February 5, 2013

Re: Omnicomplete shows strange behavior when preview window is enabled

" 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
autocmd FileType qf wincmd J
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 4 space
set expandtab
set shiftwidth=4
set softtabstop=4

" ------------ 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
On Tuesday, February 05, 2013 09:46:51 AM Christian Brabandt wrote:
> Can someone show me how to reproduce this issue? I have seen this issue
> in the todo list, but so far, whenever I tried it, I couldn't reproduce
> it. I am probably doing something wrong here.
>
> regards,
> Christian

Guess you could use my .vimrc which was attached to the initial post, but i'll
attach it to this message as well. It's a really minimal config, so i hope
you're able to reproduce this issue. I had this issue with the same .vimrc and
the same plugins on 3 machines.

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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: