Mercurial > vim
comparison runtime/optwin.vim @ 36:125e80798a85 v7.0021
updated for version 7.0021
author | vimboss |
---|---|
date | Thu, 09 Dec 2004 21:34:53 +0000 |
parents | 631143ac4a01 |
children | f1d2a58883b9 |
comparison
equal
deleted
inserted
replaced
35:8f3a526c2fe1 | 36:125e80798a85 |
---|---|
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 05 | 4 " Last Change: 2004 Dec 09 |
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 |
887 call append("$", "autoread\tautomatically read a file when it was modified outside of Vim") | 887 call append("$", "autoread\tautomatically read a file when it was modified outside of Vim") |
888 call append("$", "\t(global or local to buffer)") | 888 call append("$", "\t(global or local to buffer)") |
889 call <SID>BinOptionG("ar", &ar) | 889 call <SID>BinOptionG("ar", &ar) |
890 call append("$", "patchmode\tkeep oldest version of a file; specifies file name extension") | 890 call append("$", "patchmode\tkeep oldest version of a file; specifies file name extension") |
891 call <SID>OptionG("pm", &pm) | 891 call <SID>OptionG("pm", &pm) |
892 call append("$", "fsync\tforcibly sync the file to disk after writing it") | |
893 call <SID>BinOptionG("fs", &fs) | |
892 if !has("msdos") | 894 if !has("msdos") |
893 call append("$", "shortname\tuse 8.3 file names") | 895 call append("$", "shortname\tuse 8.3 file names") |
894 call append("$", "\t(local to buffer)") | 896 call append("$", "\t(local to buffer)") |
895 call <SID>BinOptionL("sn") | 897 call <SID>BinOptionL("sn") |
896 endif | 898 endif |