Mercurial > vim
comparison runtime/optwin.vim @ 714:0f9f4761ad9c v7.0216
updated for version 7.0216
author | vimboss |
---|---|
date | Mon, 06 Mar 2006 23:29:24 +0000 |
parents | 81fe2ccc1207 |
children | ebd1799949ff |
comparison
equal
deleted
inserted
replaced
713:0c381fb7846c | 714:0f9f4761ad9c |
---|---|
1 " These commands create the option window. | 1 " These commands create the option window. |
2 " | 2 " |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2006 Jan 13 | 4 " Last Change: 2006 Mar 05 |
5 | 5 |
6 " If there already is an option window, jump to that one. | 6 " If there already is an option window, jump to that one. |
7 if bufwinnr("option-window") > 0 | 7 if bufwinnr("option-window") > 0 |
8 let s:thiswin = winnr() | 8 let s:thiswin = winnr() |
9 while 1 | 9 while 1 |
461 call append("$", "scrollopt\t\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'") | 461 call append("$", "scrollopt\t\"ver\", \"hor\" and/or \"jump\"; list of options for 'scrollbind'") |
462 call <SID>OptionG("sbo", &sbo) | 462 call <SID>OptionG("sbo", &sbo) |
463 endif | 463 endif |
464 | 464 |
465 | 465 |
466 call <SID>Header("multiple tab pages") | |
467 call append("$", "showtabline\t0, 1 or 2; when to use a tab pages line") | |
468 call append("$", " \tset stal=" . &stal) | |
469 call append("$", "tabpagemax\tmaximum number of tab pages to open for -p and \"tab all\"") | |
470 call append("$", " \tset tpm=" . &tpm) | |
471 call append("$", "tabline\tcustom tab pages line") | |
472 call <SID>OptionG("tal", &tal) | |
473 call append("$", "guitablabel\tcustom tab page label for the GUI") | |
474 call <SID>OptionG("gtl", >l) | |
475 | |
476 | |
466 call <SID>Header("terminal") | 477 call <SID>Header("terminal") |
467 call append("$", "term\tname of the used terminal") | 478 call append("$", "term\tname of the used terminal") |
468 call <SID>OptionG("term", &term) | 479 call <SID>OptionG("term", &term) |
469 call append("$", "ttytype\talias for 'term'") | 480 call append("$", "ttytype\talias for 'term'") |
470 call <SID>OptionG("tty", &tty) | 481 call <SID>OptionG("tty", &tty) |
695 call append("$", "\t(local to buffer)") | 706 call append("$", "\t(local to buffer)") |
696 call <SID>OptionL("fo") | 707 call <SID>OptionL("fo") |
697 call append("$", "formatlistpat\tpattern to recognize a numbered list") | 708 call append("$", "formatlistpat\tpattern to recognize a numbered list") |
698 call append("$", "\t(local to buffer)") | 709 call append("$", "\t(local to buffer)") |
699 call <SID>OptionL("flp") | 710 call <SID>OptionL("flp") |
711 if has("eval") | |
712 call append("$", "formatexpr\texpression used for \"gq\" to format lines") | |
713 call append("$", "\t(local to buffer)") | |
714 call <SID>OptionL("fex") | |
715 endif | |
700 if has("insert_expand") | 716 if has("insert_expand") |
701 call append("$", "complete\tspecifies how Insert mode completion works for CTRL-N and CTRL-P") | 717 call append("$", "complete\tspecifies how Insert mode completion works for CTRL-N and CTRL-P") |
702 call append("$", "\t(local to buffer)") | 718 call append("$", "\t(local to buffer)") |
703 call <SID>OptionL("cpt") | 719 call <SID>OptionL("cpt") |
704 call append("$", "completeopt\twhether to use a popup menu for Insert mode completion") | 720 call append("$", "completeopt\twhether to use a popup menu for Insert mode completion") |