Added YCM config

This commit is contained in:
Jesper Fussing Mørk 2018-07-05 15:14:23 +02:00
parent e847880b46
commit aaf0da41b8
1 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,12 @@ let g:airline_powerline_fonts = 1
let g:airline_theme='solarized'
let g:airline_solarized_bg='dark'
"YCM
let g:ycm_python_binary_path = '/usr/bin/python3'
let g:ycm_server_python_interpreter = 'python2'
let g:ycm_autoclose_preview_window_after_completion=1
let g:ycm_min_num_of_chars_for_completion=10
"Mappings
:nmap <c-s> :w<CR>
:imap <c-s> <Esc>:w<CR>a