comparison runtime/optwin.vim @ 6385:f654ad95fd4e

Update runtime files.
author Bram Moolenaar <bram@vim.org>
date Wed, 19 Nov 2014 18:54:17 +0100
parents 31f7581068a9
children 62ba356c2d4e
comparison
equal deleted inserted replaced
6384:cf73717ada83 6385:f654ad95fd4e
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: 2014 Oct 09 4 " Last Change: 2014 Nov 19
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
147 147
148 " Insert help and a "set" command for each option. 148 " Insert help and a "set" command for each option.
149 call append(0, '" Each "set" line shows the current value of an option (on the left).') 149 call append(0, '" Each "set" line shows the current value of an option (on the left).')
150 call append(1, '" Hit <CR> on a "set" line to execute it.') 150 call append(1, '" Hit <CR> on a "set" line to execute it.')
151 call append(2, '" A boolean option will be toggled.') 151 call append(2, '" A boolean option will be toggled.')
152 call append(3, '" For other options you can edit the value.') 152 call append(3, '" For other options you can edit the value before hitting <CR>.')
153 call append(4, '" Hit <CR> on a help line to open a help window on this option.') 153 call append(4, '" Hit <CR> on a help line to open a help window on this option.')
154 call append(5, '" Hit <CR> on an index line to jump there.') 154 call append(5, '" Hit <CR> on an index line to jump there.')
155 call append(6, '" Hit <Space> on a "set" line to refresh it.') 155 call append(6, '" Hit <Space> on a "set" line to refresh it.')
156 156
157 " These functions are called often below. Keep them fast! 157 " These functions are called often below. Keep them fast!
1192 if has("keymap") 1192 if has("keymap")
1193 call append("$", "keymap\tname of a keyboard mappping") 1193 call append("$", "keymap\tname of a keyboard mappping")
1194 call <SID>OptionL("kmp") 1194 call <SID>OptionL("kmp")
1195 endif 1195 endif
1196 if has("langmap") 1196 if has("langmap")
1197 call append("$", "langmap\ttranslate characters for Normal mode") 1197 call append("$", "langmap\tlist of characters that are translated in Normal mode")
1198 call <SID>OptionG("lmap", &lmap) 1198 call <SID>OptionG("lmap", &lmap)
1199 call append("$", "langnoremap\tdon't apply 'langmap' to mapped characters")
1200 call <SID>BinOptionG("lnr", &lnr)
1199 endif 1201 endif
1200 if has("xim") 1202 if has("xim")
1201 call append("$", "imdisable\twhen set never use IM; overrules following IM options") 1203 call append("$", "imdisable\twhen set never use IM; overrules following IM options")
1202 call <SID>BinOptionG("imd", &imd) 1204 call <SID>BinOptionG("imd", &imd)
1203 endif 1205 endif