X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/dc229eb1026cd32640f8bd4aff9583779d6e39a1..1954d52b492413ec0828e7da44ee7e639d81b79f:/vim/ftplugin/cpp.vim diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index b54cffd..78756f4 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -43,12 +43,14 @@ let g:switch_const_definitions = \ 'const \([[:alnum:]_:<>]\{-}\) &': '\1 ' \ } ] -nnoremap c :call switch#Switch(g:switch_const_definitions, {}) +nnoremap c :call switch#Switch({'definitions': g:switch_const_definitions}) nnoremap gd :YcmCompleter GoTo nnoremap d :vs:YcmCompleter GoTo nnoremap gD :YcmCompleter GoToReferences +nnoremap fi :YcmCompleter FixIt + " format with = call operator#user#define_ex_command('ycmcompleter-format', 'YcmCompleter Format') map = (operator-ycmcompleter-format)