Lines Matching +refs:find +refs:lisp +refs:line +refs:indent

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
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"
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
73 call <SID>Update(lnum, line, local, thiswin)
79 " find the window in which the option applies
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")
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)
245 call append("$", "whichwrap\tlist of flags specifying which commands wrap to another line")
249 call append("$", "\tcharacter of a line")
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")
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")
501 call append("$", "showtabline\t0, 1 or 2; when to use a tab pages line")
505 call append("$", "tabline\tcustom tab pages line")
673 call append("$", "showcmd\tshow (partial) command keys in the status line")
677 call append("$", "showmode\tdisplay the current mode in the status line")
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")
811 call append("$", "shiftwidth\tnumber of spaces used for each step of (auto)indent")
814 call append("$", "smarttab\ta <Tab> in an indent inserts 'shiftwidth' spaces")
824 call append("$", "autoindent\tautomatically set the indent of a new line")
842 call append("$", "cinwords\tlist of words that cause more C-indent")
845 call append("$", "indentexpr\texpression used to obtain the indent of a line")
852 call append("$", "copyindent\tcopy whitespace for indenting from previous line")
855 call append("$", "preserveindent\tpreserve kind of whitespace when changing indent")
859 call append("$", "lisp\tenable lisp mode")
861 call <SID>BinOptionL("lisp")
862 call append("$", "lispwords\twords that change how lisp indenting works")
892 call append("$", "foldmethod\tfolding type: \"manual\", \"indent\", \"expr\", \"marker\" or \"syntax\"")
898 call append("$", "foldignore\tused to ignore lines when 'foldmethod' is \"indent\"")
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\"")
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'")
1198 call append("$", "imcmdline\twhen set always use IM when starting to edit a command line")
1289 " go to first line