aboutsummaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim')
-rw-r--r--.vim/after/plugin/keybindings.vim (renamed from .vim/keybindings.vim)0
-rw-r--r--.vim/after/plugin/youcompleteme.vim2
2 files changed, 2 insertions, 0 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)