Mercurial > vim
comparison runtime/optwin.vim @ 779:fb913578cbf5
updated for version 7.0228
author | vimboss |
---|---|
date | Sat, 18 Mar 2006 21:30:13 +0000 |
parents | c0f1b710ce07 |
children | 1f3b1021f002 |
comparison
equal
deleted
inserted
replaced
778:c3f63ed316b6 | 779:fb913578cbf5 |
---|---|
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 Mar 16 | 4 " Last Change: 2006 Mar 18 |
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 |
433 call append("$", " \tset wmh=" . &wmh) | 433 call append("$", " \tset wmh=" . &wmh) |
434 call append("$", "winfixheight\tkeep the height of the window") | 434 call append("$", "winfixheight\tkeep the height of the window") |
435 call append("$", "\t(local to window)") | 435 call append("$", "\t(local to window)") |
436 call <SID>BinOptionL("wfh") | 436 call <SID>BinOptionL("wfh") |
437 if has("vertsplit") | 437 if has("vertsplit") |
438 call append("$", "winfixwidth\tkeep the width of the window") | |
439 call append("$", "\t(local to window)") | |
440 call <SID>BinOptionL("wfw") | |
438 call append("$", "winwidth\tminimal number of columns used for the current window") | 441 call append("$", "winwidth\tminimal number of columns used for the current window") |
439 call append("$", " \tset wiw=" . &wiw) | 442 call append("$", " \tset wiw=" . &wiw) |
440 call append("$", "winminwidth\tminimal number of columns used for any window") | 443 call append("$", "winminwidth\tminimal number of columns used for any window") |
441 call append("$", " \tset wmw=" . &wmw) | 444 call append("$", " \tset wmw=" . &wmw) |
442 endif | 445 endif |