Mercurial > vim
comparison runtime/doc/options.txt @ 2709:b01a37ab556b
Runtime file updates.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 25 Feb 2011 14:42:19 +0100 |
parents | b6471224d2af |
children | 0d201adaf9c5 |
comparison
equal
deleted
inserted
replaced
2708:e44523d45bf5 | 2709:b01a37ab556b |
---|---|
1 *options.txt* For Vim version 7.3. Last change: 2011 Jan 30 | 1 *options.txt* For Vim version 7.3. Last change: 2011 Feb 15 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
3076 'foldminlines' 'fml' number (default: 1) | 3076 'foldminlines' 'fml' number (default: 1) |
3077 local to window | 3077 local to window |
3078 {not in Vi} | 3078 {not in Vi} |
3079 {not available when compiled without the |+folding| | 3079 {not available when compiled without the |+folding| |
3080 feature} | 3080 feature} |
3081 Sets the minimum number of screen lines for a fold to be displayed | 3081 Sets the number of screen lines above which a fold can be displayed |
3082 closed. Also for manually closed folds. | 3082 closed. Also for manually closed folds. With the default value of |
3083 one a fold can only be closed if it takes up two or more screen lines. | |
3084 Set to zero to be able to close folds of just one screen line. | |
3083 Note that this only has an effect of what is displayed. After using | 3085 Note that this only has an effect of what is displayed. After using |
3084 "zc" to close a fold, which is displayed open because it's smaller | 3086 "zc" to close a fold, which is displayed open because it's smaller |
3085 than 'foldminlines', a following "zc" may close a containing fold. | 3087 than 'foldminlines', a following "zc" may close a containing fold. |
3086 | 3088 |
3087 *'foldnestmax'* *'fdn'* | 3089 *'foldnestmax'* *'fdn'* |
6486 only has a line number, e.g., ":25" or ":+". | 6488 only has a line number, e.g., ":25" or ":+". |
6487 In case of buffer changing commands the cursor is placed at the column | 6489 In case of buffer changing commands the cursor is placed at the column |
6488 where it was the last time the buffer was edited. | 6490 where it was the last time the buffer was edited. |
6489 NOTE: This option is set when 'compatible' is set. | 6491 NOTE: This option is set when 'compatible' is set. |
6490 | 6492 |
6491 *'statusline'* *'stl'* *E540* *E541* *E542* | 6493 *'statusline'* *'stl'* *E540* *E542* |
6492 'statusline' 'stl' string (default empty) | 6494 'statusline' 'stl' string (default empty) |
6493 global or local to window |global-local| | 6495 global or local to window |global-local| |
6494 {not in Vi} | 6496 {not in Vi} |
6495 {not available when compiled without the |+statusline| | 6497 {not available when compiled without the |+statusline| |
6496 feature} | 6498 feature} |
6499 | 6501 |
6500 The option consists of printf style '%' items interspersed with | 6502 The option consists of printf style '%' items interspersed with |
6501 normal text. Each status line item is of the form: | 6503 normal text. Each status line item is of the form: |
6502 %-0{minwid}.{maxwid}{item} | 6504 %-0{minwid}.{maxwid}{item} |
6503 All fields except the {item} is optional. A single percent sign can | 6505 All fields except the {item} is optional. A single percent sign can |
6504 be given as "%%". Up to 80 items can be specified. | 6506 be given as "%%". Up to 80 items can be specified. *E541* |
6505 | 6507 |
6506 When the option starts with "%!" then it is used as an expression, | 6508 When the option starts with "%!" then it is used as an expression, |
6507 evaluated and the result is used as the option value. Example: > | 6509 evaluated and the result is used as the option value. Example: > |
6508 :set statusline=%!MyStatusLine() | 6510 :set statusline=%!MyStatusLine() |
6509 < The result can contain %{} items that will be evaluated too. | 6511 < The result can contain %{} items that will be evaluated too. |
6552 {not available when compiled without |+autocmd| feature} | 6554 {not available when compiled without |+autocmd| feature} |
6553 q S "[Quickfix List]", "[Location List]" or empty. | 6555 q S "[Quickfix List]", "[Location List]" or empty. |
6554 k S Value of "b:keymap_name" or 'keymap' when |:lmap| mappings are | 6556 k S Value of "b:keymap_name" or 'keymap' when |:lmap| mappings are |
6555 being used: "<keymap>" | 6557 being used: "<keymap>" |
6556 n N Buffer number. | 6558 n N Buffer number. |
6557 b N Value of byte under cursor. | 6559 b N Value of character under cursor. |
6558 B N As above, in hexadecimal. | 6560 B N As above, in hexadecimal. |
6559 o N Byte number in file of byte under cursor, first byte is 1. | 6561 o N Byte number in file of byte under cursor, first byte is 1. |
6560 Mnemonic: Offset from start of file (with one added) | 6562 Mnemonic: Offset from start of file (with one added) |
6561 {not available when compiled without |+byte_offset| feature} | 6563 {not available when compiled without |+byte_offset| feature} |
6562 O N As above, in hexadecimal. | 6564 O N As above, in hexadecimal. |