aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-03 19:16:22 +0800
committerGuangxiong Lin <[email protected]>2022-04-03 19:19:11 +0800
commitd9dcd9e1fcf86716fc3a06d0e41d2df2dba695cb (patch)
tree2f846fcbbc34528481983b7cf5ebc57dc146b794
parent296d1377539f89319fe9d4ebc87c36ceb4c9a2de (diff)
downloaddotfiles-d9dcd9e1fcf86716fc3a06d0e41d2df2dba695cb.tar.gz
dotfiles-d9dcd9e1fcf86716fc3a06d0e41d2df2dba695cb.tar.bz2
dotfiles-d9dcd9e1fcf86716fc3a06d0e41d2df2dba695cb.zip
Fix ycm config (vim)
-rw-r--r--.vim/after/plugin/youcompleteme.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/after/plugin/youcompleteme.vim b/.vim/after/plugin/youcompleteme.vim
index 80888ba..b4e30a8 100644
--- a/.vim/after/plugin/youcompleteme.vim
+++ b/.vim/after/plugin/youcompleteme.vim
@@ -37,7 +37,7 @@ 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>
+nnoremap <leader>rn :YcmCompleter RefactorRename<space>
nmap <leader>fs <plug>(YCMFindSymbolInDocument)
nmap <leader>fS <plug>(YCMFindSymbolInWorkspace)
nmap K <plug>(YCMHover)