Mercurial > vim
comparison runtime/optwin.vim @ 18594:e9a47bcf7b94
Update runtime files
Commit: https://github.com/vim/vim/commit/5ef1c6a4838a9629b793f3ae676f72a764171b00
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 10 22:09:11 2019 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Nov 2019 22:15:04 +0100 |
parents | 6650e3dff8d4 |
children | 661eb972cb22 |
comparison
equal
deleted
inserted
replaced
18593:89a359d7bcd2 | 18594:e9a47bcf7b94 |
---|---|
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: 2019 Aug 20 | 4 " Last Change: 2019 Nov 07 |
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 let buf = bufnr('option-window') | 7 let buf = bufnr('option-window') |
8 if buf >= 0 | 8 if buf >= 0 |
9 let winids = win_findbuf(buf) | 9 let winids = win_findbuf(buf) |
592 call append("$", "mouse\tlist of flags for using the mouse") | 592 call append("$", "mouse\tlist of flags for using the mouse") |
593 call <SID>OptionG("mouse", &mouse) | 593 call <SID>OptionG("mouse", &mouse) |
594 if has("gui") | 594 if has("gui") |
595 call append("$", "mousefocus\tthe window with the mouse pointer becomes the current one") | 595 call append("$", "mousefocus\tthe window with the mouse pointer becomes the current one") |
596 call <SID>BinOptionG("mousef", &mousef) | 596 call <SID>BinOptionG("mousef", &mousef) |
597 endif | |
598 call append("$", "scrollfocus\tthe window with the mouse pointer scrolls with the mouse wheel") | |
599 call <SID>BinOptionG("scf", &scf) | |
600 if has("gui") | |
597 call append("$", "mousehide\thide the mouse pointer while typing") | 601 call append("$", "mousehide\thide the mouse pointer while typing") |
598 call <SID>BinOptionG("mh", &mh) | 602 call <SID>BinOptionG("mh", &mh) |
599 endif | 603 endif |
600 call append("$", "mousemodel\t\"extend\", \"popup\" or \"popup_setpos\"; what the right") | 604 call append("$", "mousemodel\t\"extend\", \"popup\" or \"popup_setpos\"; what the right") |
601 call append("$", "\tmouse button is used for") | 605 call append("$", "\tmouse button is used for") |