From 90ab0d07a0dec981680bbbdd60360fe411770011 Mon Sep 17 00:00:00 2001 From: Manuel Mendez Date: Mon, 1 Apr 2013 09:55:37 -0300 Subject: [PATCH] Replace YcmCommand with YcmCompleter in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 249e8d82..bce1786c 100644 --- a/README.md +++ b/README.md @@ -505,13 +505,13 @@ YcmCompleter subcommands [See the docs for the `YcmCompleter` command before tackling this section.] The invoked subcommand is automatically routed to the currently active semantic -completer, so `:YcmCommand GoToDefinition` will invoke the `GoToDefinition` +completer, so `:YcmCompleter GoToDefinition` will invoke the `GoToDefinition` subcommand on the Python semantic completer if the currently active file is a Python one and on the Clang completer if the currently active file is a C/C++/Objective-C one. You may also want to map the subcommands to something less verbose; for -instance, `nnoremap jd :YcmCommand GoToDefinitionElseDeclaration` +instance, `nnoremap jd :YcmCompleter GoToDefinitionElseDeclaration` maps the `jd` sequence to the longer subcommand invocation. ### The `GoToDeclaration` subcommand