Added YCM config
This commit is contained in:
parent
e847880b46
commit
aaf0da41b8
|
@ -22,6 +22,12 @@ let g:airline_powerline_fonts = 1
|
||||||
let g:airline_theme='solarized'
|
let g:airline_theme='solarized'
|
||||||
let g:airline_solarized_bg='dark'
|
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
|
"Mappings
|
||||||
:nmap <c-s> :w<CR>
|
:nmap <c-s> :w<CR>
|
||||||
:imap <c-s> <Esc>:w<CR>a
|
:imap <c-s> <Esc>:w<CR>a
|
||||||
|
|
Loading…
Reference in New Issue