diff options
-rw-r--r-- | .vim/after/plugin/keybindings.vim (renamed from .vim/keybindings.vim) | 0 | ||||
-rw-r--r-- | .vim/after/plugin/youcompleteme.vim | 2 | ||||
-rw-r--r-- | .vimrc | 3 |
3 files changed, 3 insertions, 2 deletions
diff --git a/.vim/keybindings.vim b/.vim/after/plugin/keybindings.vim index b76eb27..b76eb27 100644 --- a/.vim/keybindings.vim +++ b/.vim/after/plugin/keybindings.vim diff --git a/.vim/after/plugin/youcompleteme.vim b/.vim/after/plugin/youcompleteme.vim index 6f7a266..1e1e6c4 100644 --- a/.vim/after/plugin/youcompleteme.vim +++ b/.vim/after/plugin/youcompleteme.vim @@ -31,8 +31,10 @@ let g:ycm_filetype_blacklist = { \ } nnoremap gd :YcmCompleter GoTo<CR> +nnoremap gy :YcmCompleter GoToType<CR> nnoremap gr :YcmCompleter GoToReferences<CR> nnoremap gi :YcmCompleter GoToImplementation<CR> +nnoremap rn :YcmCompleter RefactorRename<space> nmap <leader>fs <plug>(YCMFindSymbolInDocument) nmap <leader>fS <plug>(YCMFindSymbolInWorkspace) nmap K <plug>(YCMHover) @@ -82,8 +82,7 @@ set tags=./.tags;,.tags " mapping let mapleader=',' " change the key <leader> nnoremap <leader>cd :cd %:p:h<CR> :pwd<CR> - -source ~/.vim/keybindings.vim +cnoremap <C-G> <C-C> highlight Pmenu ctermbg=grey set exrc |