diff --git a/plugin/mappings.vim b/plugin/mappings.vim index ab9675c..b0d4367 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -3,6 +3,7 @@ nnoremap fi :YcmCompleter FixIt nnoremap gd :YcmCompleter GoTo nnoremap gt :YcmCompleter GetType nnoremap sd :YcmShowDetailedDiagnostic +nnoremap D (YCMHover) " termdebug " TODO: Detecet if termdebug is loaded, if not do the default action. diff --git a/vimrc b/vimrc index fe58551..25f7087 100644 --- a/vimrc +++ b/vimrc @@ -50,6 +50,7 @@ let g:ycm_error_symbol = '▸' let g:ycm_warning_symbol = '▸' let g:ycm_goto_buffer_command = 'horizontal-split' let g:ycm_use_clangd = 0 +let g:ycm_auto_hover = 0 " ultisnips - snippet engine Pack 'SirVer/ultisnips'