From: Samir Benmendil Date: Fri, 8 May 2020 14:48:40 +0000 (+0100) Subject: fixup! vim/cpp: add mapping for YcmCompleter GoToReferences X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/41885dfc15800d8d8d8dbdfdbae1cff5eff90653 fixup! vim/cpp: add mapping for YcmCompleter GoToReferences --- diff --git a/vim/ftplugin/c.vim b/vim/ftplugin/c.vim index 3b54992..2917e5f 100644 --- a/vim/ftplugin/c.vim +++ b/vim/ftplugin/c.vim @@ -11,6 +11,7 @@ augroup END nnoremap gd :YcmCompleter GoTo nnoremap d :vs:YcmCompleter GoTo +nnoremap gD :YcmCompleter GoToReferences setlocal cinoptions= " reset cinoptions setlocal cinoptions+=l1 " align with case label