change the mapping of GundoToggle, map it to <F5>, <leader>g is for YcmCompleter GoToDefinitionElseDeclaration.