diff options
author | Guangxiong Lin <[email protected]> | 2021-12-10 08:39:02 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-12-10 08:39:02 +0800 |
commit | d2b5206c188d2486f460f4d1bca5a5afaa28e66c (patch) | |
tree | b145d006b019b897979aafc78ec559225bd675c7 | |
parent | 02cf0f9b678eae0815d9da4347cab8971b160cb6 (diff) | |
download | dotfiles-d2b5206c188d2486f460f4d1bca5a5afaa28e66c.tar.gz dotfiles-d2b5206c188d2486f460f4d1bca5a5afaa28e66c.tar.bz2 dotfiles-d2b5206c188d2486f460f4d1bca5a5afaa28e66c.zip |
Update map of ycm find symbol in vim
-rw-r--r-- | .vim/plugin/youcompleteme.vim | 4 |
1 files 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<CR> nnoremap gr :YcmCompleter GoToReferences<CR> nnoremap gi :YcmCompleter GoToImplementation<CR> nnoremap gt :YcmCompleter GoToType<CR> -nmap gs <plug>(YCMFindSymbolInDocument) -nmap gS <plug>(YCMFindSymbolInWorkspace) +nmap <leader>fs <plug>(YCMFindSymbolInDocument) +nmap <leader>fS <plug>(YCMFindSymbolInWorkspace) nmap K <plug>(YCMHover) autocmd! BufWritePre *.rs,*.go call execute('YcmCompleter Format') |