Lines Matching +refs:icon +refs:is +refs:continued +refs:line

6 " If there already is an option window, jump to that one.
20 " Make sure the '<' flag is not included in 'cpoptions', otherwise <CR> would
25 " function to be called when <CR> is hit in the option-window
28 " If on a continued comment line, go back to the first comment line
29 let lnum = line(".")
30 let line = getline(lnum)
31 while line[0] == "\t"
33 let line = getline(lnum)
36 " <CR> on a "set" line executes the option line
37 if match(line, "^ \tset ") >= 0
40 " If this is a help window, go to the window below it
44 exe line
45 call <SID>Update(lnum, line, local, thiswin)
48 " <CR> on a "option" line shows help for that option
49 elseif match(line, "^[a-z]") >= 0
50 let name = substitute(line, '\([^\t]*\).*', '\1', "")
53 " <CR> on an index line jumps to the group
54 elseif match(line, '^ \=[0-9]') >= 0
55 exe "norm! /" . line . "\<CR>zt"
59 " function to be called when <Space> is hit in the option-window
62 let lnum = line(".")
63 let line = getline(lnum)
65 " <Space> on a "set" line refreshes the option line
66 if match(line, "^ \tset ") >= 0
69 " If this is a help window, go to the window below it
73 call <SID>Update(lnum, line, local, thiswin)
103 " Update a "set" line in the option window
104 fun! <SID>Update(lnum, line, local, thiswin)
105 " get the new value of the option and update the option window line
106 if match(a:line, "=") >= 0
107 let name = substitute(a:line, '^ \tset \([^=]*\)=.*', '\1', "")
109 let name = substitute(a:line, '^ \tset \(no\)\=\([a-z]*\).*', '\2', "")
119 if match(a:line, "=") >= 0 || (val != "0" && val != "1")
131 " Reset 'title' and 'icon' to make it work faster.
133 let s:old_icon = &icon
138 " If the current window is a help window, try finding a non-help window.
153 call append(0, '" Each "set" line shows the current value of an option (on the left).')
154 call append(1, '" Hit <CR> on a "set" line to execute it.')
157 call append(4, '" Hit <CR> on a help line to open a help window on this option.')
158 call append(5, '" Hit <CR> on an index line to jump there.')
159 call append(6, '" Hit <Space> on a "set" line to refresh it.')
193 let s:lnum = line("$")
197 let line = s:idx . " " . a:text
199 let line = " " . line
202 call append("$", line)
204 call append(s:lnum, line)
221 " The text should be sufficient to know what the option is used for.
245 call append("$", "whichwrap\tlist of flags specifying which commands wrap to another line")
249 call append("$", "\tcharacter of a line")
267 call <SID>BinOptionG("is", &is)
278 call append("$", "define\tpattern for a macro definition line")
282 call append("$", "include\tpattern for an include-file line")
285 call append("$", "includeexpr\texpression used to transform an include line to a file name")
332 call append("$", "breakat\twhich characters might cause a line break")
340 call append("$", "display\tinclude \"lastline\" to show the last line even if it doesn't fit")
343 call append("$", "fillchars\tcharacters to use for the status line, folds and filler lines")
345 call append("$", "cmdheight\tnumber of lines used for the command-line")
362 call append("$", "list\tshow <Tab> as ^I and end-of-line as $")
367 call append("$", "number\tshow the line number for each line")
370 call append("$", "relativenumber\tshow the relative line number for each line")
374 call append("$", "numberwidth\tnumber of columns to use for the line number")
379 call append("$", "conceallevel\tcontrols whether concealable text is hidden")
382 call append("$", "concealcursor\tmodes in which text in the cursor line can be concealed")
412 call append("$", "cursorline\thighlight the screen line of the cursor")
438 call append("$", "laststatus\t0, 1 or 2; when to use a status line for the last window")
441 call append("$", "statusline\talternate format to be used for a status line")
480 call append("$", "splitbelow\ta new window is put below the current one")
483 call append("$", "splitright\ta new window is put right of the current one")
501 call append("$", "showtabline\t0, 1 or 2; when to use a tab pages line")
505 call append("$", "tabline\tcustom tab pages line")
522 call append("$", "ttyfast\tterminal connection is fast")
547 let &icon = s:old_icon
548 call append("$", "icon\tset the text of the icon for this window")
549 call <SID>BinOptionG("icon", &icon)
551 call append("$", "iconstring\twhen not empty, text for the icon of this window")
570 call append("$", "\tmouse button is used for")
629 call append("$", "ballooneval\twhether the balloon evaluation is to be used")
673 call append("$", "showcmd\tshow (partial) command keys in the status line")
677 call append("$", "showmode\tdisplay the current mode in the status line")
693 call append("$", "more\tpause listings when the screen is full")
732 call append("$", "readonly\tbuffer is not to be written")
738 call append("$", "textwidth\tline length above which to break a line")
741 call append("$", "wrapmargin\tmargin from the right in which to break a line")
799 call append("$", "joinspaces\tuse two spaces after '.' when joining a line")
824 call append("$", "autoindent\tautomatically set the indent of a new line")
845 call append("$", "indentexpr\texpression used to obtain the indent of a line")
852 call append("$", "copyindent\tcopy whitespace for indenting from previous line")
895 call append("$", "foldexpr\texpression used when 'foldmethod' is \"expr\"")
898 call append("$", "foldignore\tused to ignore lines when 'foldmethod' is \"indent\"")
901 call append("$", "foldmarker\tmarkers used when 'foldmethod' is \"marker\"")
904 call append("$", "foldnestmax\tmaximum fold depth for when 'foldmethod is \"indent\" or \"syntax\"")
948 call append("$", "endofline\tlast line in the file has an end-of-line")
956 call append("$", "fileformat\tend-of-line format: \"dos\", \"unix\" or \"mac\"")
966 call append("$", "write\twriting files is allowed")
972 call append("$", "backupskip\tpatterns that specify for which files a backup is not made")
1021 call <SID>Header("command line editing")
1024 call append("$", "wildchar\tkey that triggers command-line expansion")
1028 call append("$", "wildmode\tspecifies how command line completion works")
1046 call append("$", "wildmenu\tcommand-line completion shows a list of matches")
1050 call append("$", "cedit\tkey used to open the command-line window")
1052 call append("$", "cmdwinheight\theight of the command-line window")
1150 call append("$", "rightleftcmd\twhen to edit the command-line right-to-left")
1155 call append("$", "allowrevins\tallow CTRL-_ in Insert and Command-line mode to toggle 'revins'")
1165 call append("$", "altkeymap\tuse Farsi as the second language when 'revins' is set")
1198 call append("$", "imcmdline\twhen set always use IM when starting to edit a command line")
1289 " go to first line
1315 " Make the buffer be deleted when the window is closed.
1336 " Restore the previous value of 'title' and 'icon'.
1338 let &icon = s:old_icon