X-Git-Url: https://v.licheni.net/stack/conf/vim.git/blobdiff_plain/e54686a810314cde477b4ccaad761dcff4c51a31..fb705f0a6e1e56becb02bb74fcecab6b7ae2ee94:/vimrc diff --git a/vimrc b/vimrc index 9f079ea..cf24530 100644 --- a/vimrc +++ b/vimrc @@ -49,7 +49,7 @@ set fillchars=vert:\ ,stl:\ ,stlnc:\ """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" set showmatch " show matching brackets set mat=5 " how many tenths of a second to blink matching brackets for -set hlsearch " highlight searched for phrases +set nohlsearch " highlight searched for phrases set incsearch " do highlight as you type you search phrase set listchars=tab:\|\ ,trail:.,extends:>,precedes:<,eol:$ " what to show when I hit :set list set so=10 " Keep 10 lines (top/bottom) for scope @@ -232,7 +232,7 @@ let vam_install_path = expand('$HOME') . '/.vim/addons' exec 'set runtimepath+='.vam_install_path.'/vim-addon-manager' " Enable addons with vim-addon-manager using file type recognition let ft_addons = { - \ 'always': ['surround', 'checksyntax', 'LargeFile', 'snipmate', 'snipmate-snippets', 'The_NERD_tree', 'SuperTab%1643'], + \ 'always': ['surround', 'checksyntax', 'quickfixsigns', 'LargeFile', 'snipmate', 'snipmate-snippets', 'The_NERD_tree', 'SuperTab%1643'], \ 'r': [ 'Screen_vim__gnu_screentmux', 'Vim-R-plugin' ], \ '^\%(c\|cpp\|javascript\|python\|php\|html\|xml\|r\|sh\|css\|java\|make\|xslt\|vim\)$': [ 'Tagbar', 'checksyntax', 'TagHighlight'], \ '^\%(c\|cpp\)$': [ 'clang_complete' ], @@ -245,6 +245,13 @@ au FileType * for l in values(filter(copy(ft_addons), string(expand('')) " SuperTab option for context aware completion let g:SuperTabDefaultCompletionType = "context" +" If you prefer the Omni-Completion tip window to close when a selection is +" " made, these lines close it on movement in insert mode or when leaving +" " insert mode +if has("autocmd") + autocmd CursorMovedI * if pumvisible() == 0|pclose|endif + autocmd InsertLeave * if pumvisible() == 0|pclose|endif +endif let g:clang_complete_copen = 1 let g:clang_complete_auto = 1