Mercurial > vim
comparison runtime/optwin.vim @ 2395:ab69430e646c vim73
Further improvements for :options. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 24 Jul 2010 20:35:12 +0200 |
parents | a3aca345aafa |
children | 6d6d72521a9a |
comparison
equal
deleted
inserted
replaced
2394:a3aca345aafa | 2395:ab69430e646c |
---|---|
269 call <SID>BinOptionG("magic", &magic) | 269 call <SID>BinOptionG("magic", &magic) |
270 call append("$", "ignorecase\tignore case when using a search pattern") | 270 call append("$", "ignorecase\tignore case when using a search pattern") |
271 call <SID>BinOptionG("ic", &ic) | 271 call <SID>BinOptionG("ic", &ic) |
272 call append("$", "smartcase\toverride 'ignorecase' when pattern has upper case characters") | 272 call append("$", "smartcase\toverride 'ignorecase' when pattern has upper case characters") |
273 call <SID>BinOptionG("scs", &scs) | 273 call <SID>BinOptionG("scs", &scs) |
274 call append("$", "casemap\tWhat method to use for changing case of letters") | 274 call append("$", "casemap\twhat method to use for changing case of letters") |
275 call <SID>OptionG("cmp", &cmp) | 275 call <SID>OptionG("cmp", &cmp) |
276 call append("$", "maxmempattern\tmaximum amount of memory in Kbyte used for pattern matching") | 276 call append("$", "maxmempattern\tmaximum amount of memory in Kbyte used for pattern matching") |
277 call append("$", " \tset mmp=" . &mmp) | 277 call append("$", " \tset mmp=" . &mmp) |
278 call append("$", "define\tpattern for a macro definition line") | 278 call append("$", "define\tpattern for a macro definition line") |
279 call append("$", "\t(global or local to buffer)") | 279 call append("$", "\t(global or local to buffer)") |
311 call append("$", " \tset csto=" . &csto) | 311 call append("$", " \tset csto=" . &csto) |
312 call append("$", "cscopeverbose\tgive messages when adding a cscope database") | 312 call append("$", "cscopeverbose\tgive messages when adding a cscope database") |
313 call <SID>BinOptionG("csverb", &csverb) | 313 call <SID>BinOptionG("csverb", &csverb) |
314 call append("$", "cscopepathcomp\thow many components of the path to show") | 314 call append("$", "cscopepathcomp\thow many components of the path to show") |
315 call append("$", " \tset cspc=" . &cspc) | 315 call append("$", " \tset cspc=" . &cspc) |
316 call append("$", "cscopequickfix\tWhen to open a quickfix window for cscope") | 316 call append("$", "cscopequickfix\twhen to open a quickfix window for cscope") |
317 call <SID>OptionG("csqf", &csqf) | 317 call <SID>OptionG("csqf", &csqf) |
318 endif | 318 endif |
319 | 319 |
320 | 320 |
321 call <SID>Header("displaying text") | 321 call <SID>Header("displaying text") |
595 call <SID>OptionG("go", &go) | 595 call <SID>OptionG("go", &go) |
596 if has("gui_gtk") | 596 if has("gui_gtk") |
597 call append("$", "toolbar\t\"icons\", \"text\" and/or \"tooltips\"; how to show the toolbar") | 597 call append("$", "toolbar\t\"icons\", \"text\" and/or \"tooltips\"; how to show the toolbar") |
598 call <SID>OptionG("tb", &tb) | 598 call <SID>OptionG("tb", &tb) |
599 if has("gui_gtk2") | 599 if has("gui_gtk2") |
600 call append("$", "toolbariconsize\tSize of toolbar icons") | 600 call append("$", "toolbariconsize\tsize of toolbar icons") |
601 call <SID>OptionG("tbis", &tbis) | 601 call <SID>OptionG("tbis", &tbis) |
602 endif | 602 endif |
603 call append("$", "guiheadroom\troom (in pixels) left above/below the window") | 603 call append("$", "guiheadroom\troom (in pixels) left above/below the window") |
604 call append("$", " \tset ghr=" . &ghr) | 604 call append("$", " \tset ghr=" . &ghr) |
605 endif | 605 endif |
785 endif | 785 endif |
786 call append("$", "tildeop\tthe \"~\" command behaves like an operator") | 786 call append("$", "tildeop\tthe \"~\" command behaves like an operator") |
787 call <SID>BinOptionG("top", &top) | 787 call <SID>BinOptionG("top", &top) |
788 call append("$", "operatorfunc\tfunction called for the\"g@\" operator") | 788 call append("$", "operatorfunc\tfunction called for the\"g@\" operator") |
789 call <SID>OptionG("opfunc", &opfunc) | 789 call <SID>OptionG("opfunc", &opfunc) |
790 call append("$", "showmatch\tWhen inserting a bracket, briefly jump to its match") | 790 call append("$", "showmatch\twhen inserting a bracket, briefly jump to its match") |
791 call <SID>BinOptionG("sm", &sm) | 791 call <SID>BinOptionG("sm", &sm) |
792 call append("$", "matchtime\ttenth of a second to show a match for 'showmatch'") | 792 call append("$", "matchtime\ttenth of a second to show a match for 'showmatch'") |
793 call append("$", " \tset mat=" . &mat) | 793 call append("$", " \tset mat=" . &mat) |
794 call append("$", "matchpairs\tlist of pairs that match for the \"%\" command") | 794 call append("$", "matchpairs\tlist of pairs that match for the \"%\" command") |
795 call append("$", "\t(local to buffer)") | 795 call append("$", "\t(local to buffer)") |
845 call <SID>OptionL("inde") | 845 call <SID>OptionL("inde") |
846 call append("$", "indentkeys\tkeys that trigger indenting with 'indentexpr' in Insert mode") | 846 call append("$", "indentkeys\tkeys that trigger indenting with 'indentexpr' in Insert mode") |
847 call append("$", "\t(local to buffer)") | 847 call append("$", "\t(local to buffer)") |
848 call <SID>OptionL("indk") | 848 call <SID>OptionL("indk") |
849 endif | 849 endif |
850 call append("$", "copyindent\tCopy whitespace for indenting from previous line") | 850 call append("$", "copyindent\tcopy whitespace for indenting from previous line") |
851 call append("$", "\t(local to buffer)") | 851 call append("$", "\t(local to buffer)") |
852 call <SID>BinOptionL("ci") | 852 call <SID>BinOptionL("ci") |
853 call append("$", "preserveindent\tPreserve kind of whitespace when changing indent") | 853 call append("$", "preserveindent\tpreserve kind of whitespace when changing indent") |
854 call append("$", "\t(local to buffer)") | 854 call append("$", "\t(local to buffer)") |
855 call <SID>BinOptionL("pi") | 855 call <SID>BinOptionL("pi") |
856 if has("lispindent") | 856 if has("lispindent") |
857 call append("$", "lisp\tenable lisp mode") | 857 call append("$", "lisp\tenable lisp mode") |
858 call append("$", "\t(local to buffer)") | 858 call append("$", "\t(local to buffer)") |
945 call <SID>BinOptionL("bin") | 945 call <SID>BinOptionL("bin") |
946 call append("$", "endofline\tlast line in the file has an end-of-line") | 946 call append("$", "endofline\tlast line in the file has an end-of-line") |
947 call append("$", "\t(local to buffer)") | 947 call append("$", "\t(local to buffer)") |
948 call <SID>BinOptionL("eol") | 948 call <SID>BinOptionL("eol") |
949 if has("multi_byte") | 949 if has("multi_byte") |
950 call append("$", "bomb\tPrepend a Byte Order Mark to the file") | 950 call append("$", "bomb\tprepend a Byte Order Mark to the file") |
951 call append("$", "\t(local to buffer)") | 951 call append("$", "\t(local to buffer)") |
952 call <SID>BinOptionL("bomb") | 952 call <SID>BinOptionL("bomb") |
953 endif | 953 endif |
954 call append("$", "fileformat\tend-of-line format: \"dos\", \"unix\" or \"mac\"") | 954 call append("$", "fileformat\tend-of-line format: \"dos\", \"unix\" or \"mac\"") |
955 call append("$", "\t(local to buffer)") | 955 call append("$", "\t(local to buffer)") |
991 if !has("msdos") | 991 if !has("msdos") |
992 call append("$", "shortname\tuse 8.3 file names") | 992 call append("$", "shortname\tuse 8.3 file names") |
993 call append("$", "\t(local to buffer)") | 993 call append("$", "\t(local to buffer)") |
994 call <SID>BinOptionL("sn") | 994 call <SID>BinOptionL("sn") |
995 endif | 995 endif |
996 call append("$", "cryptmethod\tsimple (0) or complex (1) encryption method for file writing") | 996 call append("$", "cryptmethod\encryption method for file writing: zip or blowfish") |
997 call append("$", "\t(local to buffer)") | 997 call append("$", "\t(local to buffer)") |
998 call <SID>OptionL("cm") | 998 call <SID>OptionL("cm") |
999 | 999 |
1000 | 1000 |
1001 call <SID>Header("the swap file") | 1001 call <SID>Header("the swap file") |
1143 endif | 1143 endif |
1144 if has("rightleft") | 1144 if has("rightleft") |
1145 call append("$", "rightleft\tdisplay the buffer right-to-left") | 1145 call append("$", "rightleft\tdisplay the buffer right-to-left") |
1146 call append("$", "\t(local to window)") | 1146 call append("$", "\t(local to window)") |
1147 call <SID>BinOptionL("rl") | 1147 call <SID>BinOptionL("rl") |
1148 call append("$", "rightleftcmd\tWhen to edit the command-line right-to-left") | 1148 call append("$", "rightleftcmd\twhen to edit the command-line right-to-left") |
1149 call append("$", "\t(local to window)") | 1149 call append("$", "\t(local to window)") |
1150 call <SID>OptionL("rlc") | 1150 call <SID>OptionL("rlc") |
1151 call append("$", "revins\tInsert characters backwards") | 1151 call append("$", "revins\tinsert characters backwards") |
1152 call <SID>BinOptionG("ri", &ri) | 1152 call <SID>BinOptionG("ri", &ri) |
1153 call append("$", "allowrevins\tAllow CTRL-_ in Insert and Command-line mode to toggle 'revins'") | 1153 call append("$", "allowrevins\tallow CTRL-_ in Insert and Command-line mode to toggle 'revins'") |
1154 call <SID>BinOptionG("ari", &ari) | 1154 call <SID>BinOptionG("ari", &ari) |
1155 call append("$", "aleph\tthe ASCII code for the first letter of the Hebrew alphabet") | 1155 call append("$", "aleph\tthe ASCII code for the first letter of the Hebrew alphabet") |
1156 call append("$", " \tset al=" . &al) | 1156 call append("$", " \tset al=" . &al) |
1157 call append("$", "hkmap\tuse Hebrew keyboard mapping") | 1157 call append("$", "hkmap\tuse Hebrew keyboard mapping") |
1158 call <SID>BinOptionG("hk", &hk) | 1158 call <SID>BinOptionG("hk", &hk) |
1164 call <SID>BinOptionG("akm", &akm) | 1164 call <SID>BinOptionG("akm", &akm) |
1165 call append("$", "fkmap\tuse Farsi keyboard mapping") | 1165 call append("$", "fkmap\tuse Farsi keyboard mapping") |
1166 call <SID>BinOptionG("fk", &fk) | 1166 call <SID>BinOptionG("fk", &fk) |
1167 endif | 1167 endif |
1168 if has("arabic") | 1168 if has("arabic") |
1169 call append("$", "arabic\tPrepare for editing Arabic text") | 1169 call append("$", "arabic\tprepare for editing Arabic text") |
1170 call append("$", "\t(local to window)") | 1170 call append("$", "\t(local to window)") |
1171 call <SID>BinOptionL("arab") | 1171 call <SID>BinOptionL("arab") |
1172 call append("$", "arabicshape\tPerform shaping of Arabic characters") | 1172 call append("$", "arabicshape\tperform shaping of Arabic characters") |
1173 call <SID>BinOptionG("arshape", &arshape) | 1173 call <SID>BinOptionG("arshape", &arshape) |
1174 call append("$", "termbidi\tTerminal will perform bidi handling") | 1174 call append("$", "termbidi\tterminal will perform bidi handling") |
1175 call <SID>BinOptionG("tbidi", &tbidi) | 1175 call <SID>BinOptionG("tbidi", &tbidi) |
1176 endif | 1176 endif |
1177 if has("keymap") | 1177 if has("keymap") |
1178 call append("$", "keymap\tname of a keyboard mappping") | 1178 call append("$", "keymap\tname of a keyboard mappping") |
1179 call <SID>OptionL("kmp") | 1179 call <SID>OptionL("kmp") |
1210 call <SID>OptionG("fencs", &fencs) | 1210 call <SID>OptionG("fencs", &fencs) |
1211 call append("$", "termencoding\tcharacter encoding used by the terminal") | 1211 call append("$", "termencoding\tcharacter encoding used by the terminal") |
1212 call <SID>OptionG("tenc", &tenc) | 1212 call <SID>OptionG("tenc", &tenc) |
1213 call append("$", "charconvert\texpression used for character encoding conversion") | 1213 call append("$", "charconvert\texpression used for character encoding conversion") |
1214 call <SID>OptionG("ccv", &ccv) | 1214 call <SID>OptionG("ccv", &ccv) |
1215 call append("$", "delcombine\tDelete combining (composing) characters on their own") | 1215 call append("$", "delcombine\tdelete combining (composing) characters on their own") |
1216 call <SID>BinOptionG("deco", &deco) | 1216 call <SID>BinOptionG("deco", &deco) |
1217 call append("$", "maxcombine\tMaximum number of combining (composing) characters displayed") | 1217 call append("$", "maxcombine\tmaximum number of combining (composing) characters displayed") |
1218 call <SID>OptionG("mco", &mco) | 1218 call <SID>OptionG("mco", &mco) |
1219 if has("xim") && has("gui_gtk") | 1219 if has("xim") && has("gui_gtk") |
1220 call append("$", "imactivatekey\tkey that activates the X input method") | 1220 call append("$", "imactivatekey\tkey that activates the X input method") |
1221 call <SID>OptionG("imak", &imak) | 1221 call <SID>OptionG("imak", &imak) |
1222 endif | 1222 endif |
1223 call append("$", "ambiwidth\tWidth of ambiguous width characters") | 1223 call append("$", "ambiwidth\twidth of ambiguous width characters") |
1224 call <SID>OptionG("ambw", &ambw) | 1224 call <SID>OptionG("ambw", &ambw) |
1225 endif | 1225 endif |
1226 | 1226 |
1227 | 1227 |
1228 call <SID>Header("various") | 1228 call <SID>Header("various") |