comparison runtime/doc/options.txt @ 10449:222b1432814e v8.0.0118

commit https://github.com/vim/vim/commit/5162822914372fc916a93f85848c0c82209e7cec Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 1 23:03:28 2016 +0100 patch 8.0.0118 Problem: "make proto" adds extra function prototype. Solution: Add #ifdef.
author Christian Brabandt <cb@256bit.org>
date Thu, 01 Dec 2016 23:15:04 +0100
parents 57b2b8268d3a
children 883396809b45
comparison
equal deleted inserted replaced
10448:923e383fa291 10449:222b1432814e
1 *options.txt* For Vim version 8.0. Last change: 2016 Oct 12 1 *options.txt* For Vim version 8.0. Last change: 2016 Nov 26
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
240 240
241 241
242 Handling of local options *local-options* 242 Handling of local options *local-options*
243 243
244 Some of the options only apply to a window or buffer. Each window or buffer 244 Some of the options only apply to a window or buffer. Each window or buffer
245 has its own copy of this option, thus can each have their own value. This 245 has its own copy of this option, thus each can have its own value. This
246 allows you to set 'list' in one window but not in another. And set 246 allows you to set 'list' in one window but not in another. And set
247 'shiftwidth' to 3 in one buffer and 4 in another. 247 'shiftwidth' to 3 in one buffer and 4 in another.
248 248
249 The following explains what happens to these local options in specific 249 The following explains what happens to these local options in specific
250 situations. You don't really need to know all of this, since Vim mostly uses 250 situations. You don't really need to know all of this, since Vim mostly uses
3869 pages line. When empty and when the result is empty Vim will use a 3869 pages line. When empty and when the result is empty Vim will use a
3870 default label. See |setting-guitablabel| for more info. 3870 default label. See |setting-guitablabel| for more info.
3871 3871
3872 The format of this option is like that of 'statusline'. 3872 The format of this option is like that of 'statusline'.
3873 'guitabtooltip' is used for the tooltip, see below. 3873 'guitabtooltip' is used for the tooltip, see below.
3874 The expression will be evaluated in the |sandbox| when set from a
3875 modeline, see |sandbox-option|.
3874 3876
3875 Only used when the GUI tab pages line is displayed. 'e' must be 3877 Only used when the GUI tab pages line is displayed. 'e' must be
3876 present in 'guioptions'. For the non-GUI tab pages line 'tabline' is 3878 present in 'guioptions'. For the non-GUI tab pages line 'tabline' is
3877 used. 3879 used.
3878 3880
5697 {not in Vi} 5699 {not in Vi}
5698 {only available when compiled with the |+printer| 5700 {only available when compiled with the |+printer|
5699 and |+postscript| features} 5701 and |+postscript| features}
5700 Expression used to print the PostScript produced with |:hardcopy|. 5702 Expression used to print the PostScript produced with |:hardcopy|.
5701 See |pexpr-option|. 5703 See |pexpr-option|.
5704 This option cannot be set from a |modeline| or in the |sandbox|, for
5705 security reasons.
5702 5706
5703 *'printfont'* *'pfn'* 5707 *'printfont'* *'pfn'*
5704 'printfont' 'pfn' string (default "courier") 5708 'printfont' 'pfn' string (default "courier")
5705 global 5709 global
5706 {not in Vi} 5710 {not in Vi}
7816 window. This happens only when the 'title' option is on. 7820 window. This happens only when the 'title' option is on.
7817 Only works if the terminal supports setting window titles (currently 7821 Only works if the terminal supports setting window titles (currently
7818 Amiga console, Win32 console, all GUI versions and terminals with a 7822 Amiga console, Win32 console, all GUI versions and terminals with a
7819 non-empty 't_ts' option). 7823 non-empty 't_ts' option).
7820 When Vim was compiled with HAVE_X11 defined, the original title will 7824 When Vim was compiled with HAVE_X11 defined, the original title will
7821 be restored if possible |X11|. 7825 be restored if possible, see |X11|.
7822 When this option contains printf-style '%' items, they will be 7826 When this option contains printf-style '%' items, they will be
7823 expanded according to the rules used for 'statusline'. 7827 expanded according to the rules used for 'statusline'.
7824 Example: > 7828 Example: >
7825 :auto BufEnter * let &titlestring = hostname() . "/" . expand("%:p") 7829 :auto BufEnter * let &titlestring = hostname() . "/" . expand("%:p")
7826 :set title titlestring=%<%F%=%l/%L-%P titlelen=70 7830 :set title titlestring=%<%F%=%l/%L-%P titlelen=70