Mercurial > vim
comparison runtime/doc/options.txt @ 41:f529edb9bab3 v7.0025
updated for version 7.0025
author | vimboss |
---|---|
date | Mon, 27 Dec 2004 21:59:20 +0000 |
parents | f1d2a58883b9 |
children | 388f285bda1b |
comparison
equal
deleted
inserted
replaced
40:f1d2a58883b9 | 41:f529edb9bab3 |
---|---|
1 *options.txt* For Vim version 7.0aa. Last change: 2004 Dec 21 | 1 *options.txt* For Vim version 7.0aa. Last change: 2004 Dec 24 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
2726 To avoid problems with flags that are added in the future, use the | 2726 To avoid problems with flags that are added in the future, use the |
2727 "+=" and "-=" feature of ":set" |add-option-flags|. | 2727 "+=" and "-=" feature of ":set" |add-option-flags|. |
2728 NOTE: This option is set to the Vi default value when 'compatible' is | 2728 NOTE: This option is set to the Vi default value when 'compatible' is |
2729 set and to the Vim default value when 'compatible' is reset. | 2729 set and to the Vim default value when 'compatible' is reset. |
2730 | 2730 |
2731 *'formatlistpat'* *'flp'* | |
2732 'formatlistpat' 'flp' string (default: "^\s*\d\+[\]:.)}\t ]\s*") | |
2733 local to buffer | |
2734 {not in Vi} | |
2735 A pattern that is used to recognize a list header. This is used for | |
2736 the "n" flag in 'formatoptions'. | |
2737 The pattern must match exactly the text that will be the indent for | |
2738 the line below it. You can use |\ze| to mark the end of the match | |
2739 while still checking more characters. There must be a character | |
2740 following the pattern, when it matches the whole line it is handled | |
2741 like there is no match. | |
2742 The default recognizes a number, followed by an optional punctuation | |
2743 character and white space. | |
2744 | |
2731 *'formatprg'* *'fp'* | 2745 *'formatprg'* *'fp'* |
2732 'formatprg' 'fp' string (default "") | 2746 'formatprg' 'fp' string (default "") |
2733 global | 2747 global |
2734 {not in Vi} | 2748 {not in Vi} |
2735 The name of an external program that will be used to format the lines | 2749 The name of an external program that will be used to format the lines |
2793 will be included. Environment variables are expanded |:set_env|. See | 2807 will be included. Environment variables are expanded |:set_env|. See |
2794 |option-backslash| about including spaces and backslashes. | 2808 |option-backslash| about including spaces and backslashes. |
2795 When your "grep" accepts the "-H" argument, use this to make ":grep" | 2809 When your "grep" accepts the "-H" argument, use this to make ":grep" |
2796 also work well with a single file: > | 2810 also work well with a single file: > |
2797 :set grepprg=grep\ -nH | 2811 :set grepprg=grep\ -nH |
2798 < See also the section |:make_makeprg|, since most of the comments there | 2812 < Special value: When 'grepprg' is set to "internal" the ":grep" works |
2813 like ":vimgrep". | |
2814 See also the section |:make_makeprg|, since most of the comments there | |
2799 apply equally to 'grepprg'. | 2815 apply equally to 'grepprg'. |
2800 For Win32, the default is "findstr /n" if "findstr.exe" can be found, | 2816 For Win32, the default is "findstr /n" if "findstr.exe" can be found, |
2801 otherwise it's "grep -n". | 2817 otherwise it's "grep -n". |
2802 This option cannot be set from a |modeline| or in the |sandbox|, for | 2818 This option cannot be set from a |modeline| or in the |sandbox|, for |
2803 security reasons. | 2819 security reasons. |