aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc14
1 files changed, 12 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8ba54bc..64e879b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -144,6 +144,7 @@ autocmd BufLeave * call s:copy_filename_as_mdlink()
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'ledger/vim-ledger'
+Plug 'ycm-core/YouCompleteMe'
"Plug 'prabirshrestha/vim-lsp'
Plug 'ledger/vim-ledger'
"Plug 'alok/notational-fzf-vim'
@@ -173,9 +174,18 @@ Plug 'fatih/vim-go', { 'tag': '*' }
Plug 'powerman/vim-plugin-AnsiEsc'
"Plug 'majutsushi/tagbar'
call plug#end()
-
-" vim-test
+" YouCompleteMe
+let g:ycm_python_interpreter_path = '.venv/bin/python3'
+let g:ycm_python_sys_path = []
+let g:ycm_extra_conf_vim_data = [
+ \ 'g:ycm_python_interpreter_path',
+ \ 'g:ycm_python_sys_path'
+ \]
+let g:ycm_global_ycm_extra_conf = '~/.global_extra_conf.py'
+nnoremap <leader>jd :YcmCompleter GoTo<CR>
+
+" vim-test
" use vim-dispatch to run tests in the quickfix window
" from Modern Vim Ch.4
" the mappings below are from vim-test