From 797af75cbd0b7edac91cdc9b1409f92671e21dfa Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 1 Apr 2022 23:37:40 +0800 Subject: Update key binds of vim --- .vim/after/plugin/youcompleteme.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to '.vim/after/plugin/youcompleteme.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 +nnoremap gy :YcmCompleter GoToType nnoremap gr :YcmCompleter GoToReferences nnoremap gi :YcmCompleter GoToImplementation +nnoremap rn :YcmCompleter RefactorRename nmap fs (YCMFindSymbolInDocument) nmap fS (YCMFindSymbolInWorkspace) nmap K (YCMHover) -- cgit v1.2.3