From 51b038e5160d7a6774171c25e32a3cb31d48b798 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Wed, 8 Nov 2017 00:49:31 +0100 Subject: Keep the ycm signature/preview window open --- vimrc-full | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'vimrc-full') diff --git a/vimrc-full b/vimrc-full index 7a0620e..2cd591c 100644 --- a/vimrc-full +++ b/vimrc-full @@ -662,6 +662,14 @@ endif call plug#begin() " Colorschemes: Plug 'coderonline/vim-remote-menu' +" Plug 'bbchung/clighter8' +" Plug 'octol/vim-cpp-enhanced-highlight' +" Plug 'vim-scripts/TagHighlight' +" if ! exists('g:TagHighlightSettings') +" let g:TagHighlightSettings = {} +" endif +" let g:TagHighlightSettings['TagFileName'] = 'tags' +" let g:TagHighlightSettings['CtagsExecutable'] = 'ctags' Plug 'chriskempson/base16-vim' | " not just one high quality color scheme (all named base16-*) Plug 'NLKNguyen/papercolor-theme' | " the one I like the most @@ -765,7 +773,7 @@ let g:lightline = { \ 'left': [ [ 'servername' ], ['gitbranch', 'absolutepath'] ], \ 'right': [ [], ['tabnumber'], ], \ }, - \ 'colorscheme': 'Tomorrow_Night', + \ 'colorscheme': 'Tomorrow', \ 'separator': { 'left': "\uE0B4", 'right': "\uE0B6" }, \ 'subseparator': { 'left': "\uE0b1", 'right': "\uE0b3" }, \ 'inactive': { @@ -801,13 +809,13 @@ let g:lightline = { \ } set noshowmode | " mode will be shown twice, in lightline and below, so we want to deactivate one -set statusline= -set statusline+=%t%m -set statusline+=%{TagInStatusLine()} -set statusline+=%#warningmsg# -set statusline+=%{SyntasticStatuslineFlag()} -set statusline+=%*%= -set statusline+=%l:%c(%p%%) +" set statusline= +" set statusline+=%t%m +" set statusline+=%{TagInStatusLine()} +" set statusline+=%#warningmsg# +" set statusline+=%{SyntasticStatuslineFlag()} +" set statusline+=%*%= +" set statusline+=%l:%c(%p%%) " Autocompleter: ===================================== if has("python") @@ -836,7 +844,7 @@ if has("python") let g:ycm_error_symbol = '✖' " insert this as an error symbol in the gutter bar/sign column let g:ycm_warning_symbol = '➔' " insert this as a warning symbol in the gutter bar/sign coloumn let g:ycm_auto_trigger = 1 - let g:ycm_autoclose_preview_window_after_insertion = 1 + let g:ycm_autoclose_preview_window_after_insertion = 0 " Plug 'vim-scripts/dbext.vim' " dependency to allow db related completions " let g:ycm_server_python_interpreter = 'python3' " let g:ycm_python_binary_path = '/usr/bin/python3' " the python interpreter of choice (for code checking) @@ -987,6 +995,9 @@ function! ExtendColorTheme() " make tab stop (see listchars) less disturbing... highlight! link SpecialKey NonText + " highlight! link LightlineMiddle_tabline ColorColumn + " highlight! link LightlineLeft_tabline_1 ColorColumn + " highlight! link LightlineLeft_tabline_0_1 ColorColumn " automatically enter list mode when going in insert mode (makes above syntax command temporarily ineffective) autocmd InsertEnter * set list -- cgit v1.2.3