diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-19 16:22:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-19 16:22:31 +0200 |
commit | 2c64ca1802b2c99b16d2fdf581b68b5baffb082a (patch) | |
tree | aa6937d8f3704d98c6a5246e87e612b767104d22 /runtime/doc/cmdline.txt | |
parent | 04c86d27fed5757ae40246d7bb3fdcd0c1959468 (diff) | |
download | vim-git-2c64ca1802b2c99b16d2fdf581b68b5baffb082a.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/doc/cmdline.txt')
-rw-r--r-- | runtime/doc/cmdline.txt | 42 |
1 files changed, 40 insertions, 2 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 3b2dd3206..0d2b0dba9 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -534,8 +534,46 @@ after a command causes the rest of the line to be ignored. This can be used to add comments. Example: > :set ai "set 'autoindent' option It is not possible to add a comment to a shell command ":!cmd" or to the -":map" command and a few others, because they see the '"' as part of their -argument. This is mentioned where the command is explained. +":map" command and a few others (mainly commands that expect expressions) +that see the '"' as part of their argument: + + :argdo + :autocmd + :bufdo + :cexpr (and the like) + :call + :cdo (and the like) + :command + :cscope (and the like) + :debug + :display + :echo (and the like) + :elseif + :execute + :folddoopen + :folddoclosed + :for + :grep (and the like) + :help (and the like) + :if + :let + :make + :map (and the like including :abbrev commands) + :menu (and the like) + :mkspell + :normal + :ownsyntax + :popup + :promptfind (and the like) + :registers + :return + :sort + :syntax + :tabdo + :tearoff + :vimgrep (and the like) + :while + :windo *:bar* *:\bar* '|' can be used to separate commands, so you can give multiple commands in one |