comparison runtime/doc/options.txt @ 19137:69f0e9b5c107 v8.2.0128

patch 8.2.0128: cannot list options one per line Commit: https://github.com/vim/vim/commit/6b915c0c0ee7ef82f8d3d310a4345e098cb929b0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 18 15:53:19 2020 +0100 patch 8.2.0128: cannot list options one per line Problem: Cannot list options one per line. Solution: Use ":set!" to list one option per line.
author Bram Moolenaar <Bram@vim.org>
date Sat, 18 Jan 2020 16:00:04 +0100
parents 9b7f90e56753
children 63beef1ca62c
comparison
equal deleted inserted replaced
19136:bbce494fe8df 19137:69f0e9b5c107
20 20
21 ============================================================================== 21 ==============================================================================
22 1. Setting options *set-option* *E764* 22 1. Setting options *set-option* *E764*
23 23
24 *:se* *:set* 24 *:se* *:set*
25 :se[t] Show all options that differ from their default value. 25 :se[t][!] Show all options that differ from their default value.
26 26 When [!] is present every option is on a separate
27 :se[t] all Show all but terminal options. 27 line.
28
29 :se[t][!] all Show all but terminal options.
30 When [!] is present every option is on a separate
31 line.
28 32
29 :se[t] termcap Show all terminal options. Note that in the GUI the 33 :se[t] termcap Show all terminal options. Note that in the GUI the
30 key codes are not shown, because they are generated 34 key codes are not shown, because they are generated
31 internally and can't be changed. Changing the terminal 35 internally and can't be changed. Changing the terminal
32 codes in the GUI is not useful either... 36 codes in the GUI is not useful either...
285 The options local to a window are remembered for each buffer. This also 289 The options local to a window are remembered for each buffer. This also
286 happens when the buffer is not loaded, but they are lost when the buffer is 290 happens when the buffer is not loaded, but they are lost when the buffer is
287 wiped out |:bwipe|. 291 wiped out |:bwipe|.
288 292
289 *:setl* *:setlocal* 293 *:setl* *:setlocal*
290 :setl[ocal] ... Like ":set" but set only the value local to the 294 :setl[ocal][!] ... Like ":set" but set only the value local to the
291 current buffer or window. Not all options have a 295 current buffer or window. Not all options have a
292 local value. If the option does not have a local 296 local value. If the option does not have a local
293 value the global value is set. 297 value the global value is set.
294 With the "all" argument: display local values for all 298 With the "all" argument: display local values for all
295 local options. 299 local options.
307 311
308 :se[t] {option}< For |global-local| options: Remove the local value of 312 :se[t] {option}< For |global-local| options: Remove the local value of
309 {option}, so that the global value will be used. 313 {option}, so that the global value will be used.
310 314
311 *:setg* *:setglobal* 315 *:setg* *:setglobal*
312 :setg[lobal] ... Like ":set" but set only the global value for a local 316 :setg[lobal][!] ... Like ":set" but set only the global value for a local
313 option without changing the local value. 317 option without changing the local value.
314 When displaying an option, the global value is shown. 318 When displaying an option, the global value is shown.
315 With the "all" argument: display global values for all 319 With the "all" argument: display global values for all
316 local options. 320 local options.
317 Without argument: display global values for all local 321 Without argument: display global values for all local