diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-18 15:53:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-18 15:53:19 +0100 |
commit | 6b915c0c0ee7ef82f8d3d310a4345e098cb929b0 (patch) | |
tree | 426ab78922c56f48bd65ac7877d1f0a73c53d094 /runtime | |
parent | 3029bcc094415243bad14e5720f68e857b755dad (diff) | |
download | vim-git-6b915c0c0ee7ef82f8d3d310a4345e098cb929b0.tar.gz |
patch 8.2.0128: cannot list options one per linev8.2.0128
Problem: Cannot list options one per line.
Solution: Use ":set!" to list one option per line.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index b86244fea..5ee2ce13a 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -22,9 +22,13 @@ achieve special effects. These options come in three forms: 1. Setting options *set-option* *E764* *:se* *:set* -:se[t] Show all options that differ from their default value. +:se[t][!] Show all options that differ from their default value. + When [!] is present every option is on a separate + line. -:se[t] all Show all but terminal options. +:se[t][!] all Show all but terminal options. + When [!] is present every option is on a separate + line. :se[t] termcap Show all terminal options. Note that in the GUI the key codes are not shown, because they are generated @@ -287,7 +291,7 @@ happens when the buffer is not loaded, but they are lost when the buffer is wiped out |:bwipe|. *:setl* *:setlocal* -:setl[ocal] ... Like ":set" but set only the value local to the +:setl[ocal][!] ... Like ":set" but set only the value local to the current buffer or window. Not all options have a local value. If the option does not have a local value the global value is set. @@ -309,7 +313,7 @@ wiped out |:bwipe|. {option}, so that the global value will be used. *:setg* *:setglobal* -:setg[lobal] ... Like ":set" but set only the global value for a local +:setg[lobal][!] ... Like ":set" but set only the global value for a local option without changing the local value. When displaying an option, the global value is shown. With the "all" argument: display global values for all |