From d2b5206c188d2486f460f4d1bca5a5afaa28e66c Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 10 Dec 2021 08:39:02 +0800 Subject: Update map of ycm find symbol in vim --- .vim/plugin/youcompleteme.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim index 4a1e7cd..689542e 100644 --- a/.vim/plugin/youcompleteme.vim +++ b/.vim/plugin/youcompleteme.vim @@ -31,8 +31,8 @@ nnoremap gd :YcmCompleter GoTo nnoremap gr :YcmCompleter GoToReferences nnoremap gi :YcmCompleter GoToImplementation nnoremap gt :YcmCompleter GoToType -nmap gs (YCMFindSymbolInDocument) -nmap gS (YCMFindSymbolInWorkspace) +nmap fs (YCMFindSymbolInDocument) +nmap fS (YCMFindSymbolInWorkspace) nmap K (YCMHover) autocmd! BufWritePre *.rs,*.go call execute('YcmCompleter Format') -- cgit v1.2.3