X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/0e7614ab3cf87f441b17f410bc5a136a7917c661..dc229eb1026cd32640f8bd4aff9583779d6e39a1:/vim/ftplugin/cpp.vim diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index a315592..b54cffd 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -50,8 +50,9 @@ nnoremap d :vs:YcmCompleter GoTo nnoremap gD :YcmCompleter GoToReferences " format with = -map = (operator-clang-format) -vnoremap = :ClangFormat +call operator#user#define_ex_command('ycmcompleter-format', 'YcmCompleter Format') +map = (operator-ycmcompleter-format) +vnoremap = :YcmCompleter Format " restore = mapping to g= nnoremap g= = vnoremap g= =