comparison runtime/menu.vim @ 688:bcd2edc4539e

updated for version 7.0207
author vimboss
date Sat, 25 Feb 2006 21:52:33 +0000
parents 5acda076fb0c
children 0f9f4761ad9c
comparison
equal deleted inserted replaced
687:d4b8e06e7c96 688:bcd2edc4539e
1 " Vim support file to define the default menus 1 " Vim support file to define the default menus
2 " You can also use this as a start for your own set of menus. 2 " You can also use this as a start for your own set of menus.
3 " 3 "
4 " Maintainer: Bram Moolenaar <Bram@vim.org> 4 " Maintainer: Bram Moolenaar <Bram@vim.org>
5 " Last Change: 2006 Feb 02 5 " Last Change: 2006 Feb 25
6 6
7 " Note that ":an" (short for ":anoremenu") is often used to make a menu work 7 " Note that ":an" (short for ":anoremenu") is often used to make a menu work
8 " in all modes and avoid side effects from mappings defined by the user. 8 " in all modes and avoid side effects from mappings defined by the user.
9 9
10 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise 10 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise
96 endfun 96 endfun
97 97
98 " File menu 98 " File menu
99 an 10.310 &File.&Open\.\.\.<Tab>:e :browse confirm e<CR> 99 an 10.310 &File.&Open\.\.\.<Tab>:e :browse confirm e<CR>
100 an 10.320 &File.Sp&lit-Open\.\.\.<Tab>:sp :browse sp<CR> 100 an 10.320 &File.Sp&lit-Open\.\.\.<Tab>:sp :browse sp<CR>
101 an 10.320 &File.Open\ Tab\.\.\.<Tab>:tabnew :browse tabnew<CR>
101 an 10.325 &File.&New<Tab>:enew :confirm enew<CR> 102 an 10.325 &File.&New<Tab>:enew :confirm enew<CR>
102 an <silent> 10.330 &File.&Close<Tab>:close 103 an <silent> 10.330 &File.&Close<Tab>:close
103 \ :if winheight(2) < 0 <Bar> 104 \ :if winheight(2) < 0 <Bar>
104 \ confirm enew <Bar> 105 \ confirm enew <Bar>
105 \ else <Bar> 106 \ else <Bar>