diff options
Diffstat (limited to '.vim/plugin/youcompleteme.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') |