-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathyoucompleteme_vimrc.vim
More file actions
30 lines (30 loc) · 1.22 KB
/
youcompleteme_vimrc.vim
File metadata and controls
30 lines (30 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" You Complete Me "
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" The windows set up is a NIGHTMARE, download and install:
" * Virtual Studio Community Addition (5Gigs)
" * Virtual Studio Build Tools (2Gigs)
" * Cmake
"
" Adjust path so that (using rapid path editor):
" * Cmake is found
" * MsBuild.exe can be found
"
" Restart whatever shell you have so that the path is updated, then:
" > cd C:/User/<user>/AppData/Local/nvim/plugged/YouCompleteMe
" > python install.py --msvc 15
"
set encoding=utf8
let g:ycm_autoclose_preview_window_after_completion=1
let g:ycm_min_num_of_chars_for_completion=1
let g:ycm_confirm_extra_conf=0
let g:ycm_goto_buffer_command='horizontal-split'
let g:ycm_use_ultisnips_completer=1
let g:ycm_auto_hover=''
nnoremap <leader>yd :YcmDiags<CR>
nnoremap <leader>yc :YcmForceCompileAndDiagnostics<CR>
nnoremap <leader>g :YcmCompleter GoTo<CR>
nnoremap <leader>pd :YcmCompleter GoToDefinition<CR>
nnoremap <leader>pc :YcmCompleter GoToDeclaration<CR>
nnoremap <leader>rr :YcmCompleter GoToReferences<CR>
nmap <leader>D <plug>(YCMHover)