Mercurial > vim
comparison runtime/optwin.vim @ 15:631143ac4a01 v7.0007
updated for version 7.0007
author | vimboss |
---|---|
date | Sat, 10 Jul 2004 09:47:34 +0000 |
parents | 946da5994c01 |
children | 125e80798a85 |
comparison
equal
deleted
inserted
replaced
14:946da5994c01 | 15:631143ac4a01 |
---|---|
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: 2004 Jul 03 | 4 " Last Change: 2004 Jul 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 |
561 endif | 561 endif |
562 endif | 562 endif |
563 | 563 |
564 if has("printer") | 564 if has("printer") |
565 call <SID>Header("printing") | 565 call <SID>Header("printing") |
566 call append("$", "printoptions\tlist of items that control the format of :hardcopy output") | |
567 call <SID>OptionG("popt", &popt) | |
566 call append("$", "printdevice\tname of the printer to be used for :hardcopy") | 568 call append("$", "printdevice\tname of the printer to be used for :hardcopy") |
567 call <SID>OptionG("pdev", &pdev) | 569 call <SID>OptionG("pdev", &pdev) |
568 call append("$", "printencoding\tencoding used to print the PostScript file for :hardcopy") | 570 if has("postscript") |
569 call <SID>OptionG("penc", &penc) | 571 call append("$", "printexpr\texpression used to print the PostScript file for :hardcopy") |
570 call append("$", "printexpr\texpression used to print the PostScript file for :hardcopy") | 572 call <SID>OptionG("pexpr", &pexpr) |
571 call <SID>OptionG("pexpr", &pexpr) | 573 endif |
572 call append("$", "printfont\tname of the font to be used for :hardcopy") | 574 call append("$", "printfont\tname of the font to be used for :hardcopy") |
573 call <SID>OptionG("pfn", &pfn) | 575 call <SID>OptionG("pfn", &pfn) |
574 call append("$", "printheader\tformat of the header used for :hardcopy") | 576 call append("$", "printheader\tformat of the header used for :hardcopy") |
575 call <SID>OptionG("pheader", &pheader) | 577 call <SID>OptionG("pheader", &pheader) |
576 call append("$", "printoptions\tlist of items that control the format of :hardcopy output") | 578 if has("postscript") |
577 call <SID>OptionG("popt", &popt) | 579 call append("$", "printencoding\tencoding used to print the PostScript file for :hardcopy") |
580 call <SID>OptionG("penc", &penc) | |
581 endif | |
582 if has("multi_byte") | |
583 call append("$", "printmbcharset\tthe CJK character set to be used for CJK output from :hardcopy") | |
584 call <SID>OptionG("pmbcs", &pmbcs) | |
585 call append("$", "printmbfont\tlist of font names to be used for CJK output from :hardcopy") | |
586 call <SID>OptionG("pmbfn", &pmbfn) | |
587 endif | |
578 endif | 588 endif |
579 | 589 |
580 call <SID>Header("messages and info") | 590 call <SID>Header("messages and info") |
581 call append("$", "terse\tadd 's' flag in 'shortmess' (don't show search message)") | 591 call append("$", "terse\tadd 's' flag in 'shortmess' (don't show search message)") |
582 call <SID>BinOptionG("terse", &terse) | 592 call <SID>BinOptionG("terse", &terse) |