diff options
-rw-r--r-- | vimrc-full | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -57,6 +57,7 @@ set redrawtime=400 | " The time in milliseconds for redrawing the dis | |||
57 | " set restorescreen | " restores the console after exiting vim | 57 | " set restorescreen | " restores the console after exiting vim |
58 | " set shada+=n~/.vim/shada | " shada file to use | 58 | " set shada+=n~/.vim/shada | " shada file to use |
59 | set scrolljump=5 | " how many lines get scrolled into view when cursor reaches the screens edge | 59 | set scrolljump=5 | " how many lines get scrolled into view when cursor reaches the screens edge |
60 | set scrolloff=999 | " keeps cursor centered | ||
60 | set splitbelow | " open new windows below the current one (i find that more intuitive) | 61 | set splitbelow | " open new windows below the current one (i find that more intuitive) |
61 | set shiftround | " indent/unindent snaps to multiple of shiftwidth | 62 | set shiftround | " indent/unindent snaps to multiple of shiftwidth |
62 | set showcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) | 63 | set showcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) |
@@ -159,7 +160,7 @@ set laststatus=2 | " required by AirLine, | |||
159 | set background=light | | 160 | set background=light | |
160 | 161 | ||
161 | Plug 'vim-airline/vim-airline' | " beautification of the mode line | 162 | Plug 'vim-airline/vim-airline' | " beautification of the mode line |
162 | let g:airline_section_c = "" | " was: %F | 163 | let g:airline_section_c = "%F" | " was: %F |
163 | let g:airline_detect_modified = 1 | | 164 | let g:airline_detect_modified = 1 | |
164 | let g:airline_detect_paste = 0 | | 165 | let g:airline_detect_paste = 0 | |
165 | let g:airline_exclude_preview = 0 | | 166 | let g:airline_exclude_preview = 0 | |
@@ -223,6 +224,7 @@ if has("python") | |||
223 | let g:ycm_global_ycm_extra_conf = '~/src/ycm_extra_conf.py' | 224 | let g:ycm_global_ycm_extra_conf = '~/src/ycm_extra_conf.py' |
224 | let g:ycm_semantic_triggers = { 'c': [ 're!.' ] } | 225 | let g:ycm_semantic_triggers = { 'c': [ 're!.' ] } |
225 | let g:ycm_python_binary_path = 'python' " the python interpreter of choice (for code checking) | 226 | let g:ycm_python_binary_path = 'python' " the python interpreter of choice (for code checking) |
227 | let g:ycm_disable_for_files_larger_than_kb = 16384 " we have faaast computers, don't we? | ||
226 | 228 | ||
227 | " disable <tab>-key for YCM so that it can be used with ultisnips | 229 | " disable <tab>-key for YCM so that it can be used with ultisnips |
228 | let g:ycm_key_list_select_completion=[] | 230 | let g:ycm_key_list_select_completion=[] |
@@ -306,6 +308,7 @@ function! ExtendColorTheme() | |||
306 | highlight! link TabLine LineNr | 308 | highlight! link TabLine LineNr |
307 | highlight! TabLineSel ctermbg=blue ctermfg=black | 309 | highlight! TabLineSel ctermbg=blue ctermfg=black |
308 | highlight! link TabLineFill LineNr | 310 | highlight! link TabLineFill LineNr |
311 | highlight! Search ctermbg=12 ctermfg=0 | ||
309 | endfunction | 312 | endfunction |
310 | autocmd ColorScheme * call ExtendColorTheme() | 313 | autocmd ColorScheme * call ExtendColorTheme() |
311 | 314 | ||