1 " System gvimrc file for MacVim
3 " Maintainer: Björn Winckler <bjorn.winckler@gmail.com>
4 " Last Change: Fri Aug 17 2007
6 " This is a work in progress. If you feel so inclined, please help me improve
10 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise
11 " <CR> would not be recognized. See ":help 'cpoptions'".
17 " Global default options
20 if !exists("syntax_on")
36 aunmenu File.Save-Exit
38 an <silent> 10.290 File.New\ Window :action newVimWindow:<CR>
39 an 10.295 File.New\ Tab :tabnew<CR>
40 an 10.328 File.-SEP0- <Nop>
41 an <silent> 10.330 File.Close\ Window<Tab>:qa :confirm qa<CR>
42 an 10.331 File.Close<Tab>:q :confirm q<CR>
43 "an 10.331 File.Close\ Tab :tabclose<CR>
45 an 20.460 Edit.-SEP4- <Nop>
46 an 20.465 Edit.Show\ Fonts\.\.\. :action orderFrontFontPanel:<CR>
47 an 20.470 Edit.Special\ Characters\.\.\. :action orderFrontCharacterPalette:<CR>
53 an <silent> 70.300 Window.Minimize :action performMiniaturize:<CR>
54 an <silent> 70.310 Window.Zoom :action performZoom:<CR>
55 an 70.320 Window.-SEP1- <Nop>
56 " TODO! Grey out if no tabs are visible.
57 an <silent> 70.330 Window.Previous\ Tab :tabprevious<CR>
58 an <silent> 70.340 Window.Next\ Tab :tabnext<CR>
59 an 70.350 Window.-SEP2- <Nop>
60 an <silent> 70.360 Window.Bring\ All\ To\ Front :action arrangeInFront:<CR>
67 " These items are special ('*' means zero or more arbitrary characters):
68 " -space*- an empty space
69 " -flexspace*- a flexible space
70 " -*- a separator item
72 " Remove some items so that all items are visible at the default window size.
75 "aunmenu ToolBar.-sep2-
78 "aunmenu ToolBar.Paste
79 "aunmenu ToolBar.-sep3-
80 aunmenu ToolBar.Replace
81 aunmenu ToolBar.FindNext
82 aunmenu ToolBar.FindPrev
83 aunmenu ToolBar.-sep5-
84 aunmenu ToolBar.-sep6-
85 aunmenu ToolBar.RunCtags
86 aunmenu ToolBar.TagJump
87 "aunmenu ToolBar.-sep7-
88 aunmenu ToolBar.FindHelp
90 "an 1.295 ToolBar.-flexspace7- <Nop>
102 " Menu key equivalents (these should always have the 'D' modifier set)
105 menukeyequiv File.New\ Window <D-n>
106 menukeyequiv File.New\ Tab <D-t>
108 menukeyequiv File.Open\.\.\. <D-o>
109 menukeyequiv File.Open\ Tab\.\.\. <D-T>
110 menukeyequiv File.Close\ Window <D-W>
111 "menukeyequiv File.Close\ Tab <D-w>
112 menukeyequiv File.Close <D-w>
113 menukeyequiv File.Save <D-s>
114 menukeyequiv File.Save\ As\.\.\. <D-S>
115 menukeyequiv File.Print <D-p>
117 menukeyequiv Edit.Undo <D-z>
118 menukeyequiv Edit.Redo <D-Z>
119 menukeyequiv Edit.Cut <D-x>
120 menukeyequiv Edit.Copy <D-c>
121 menukeyequiv Edit.Paste <D-v>
122 menukeyequiv Edit.Select\ All <D-a>
123 menukeyequiv Edit.Special\ Characters\.\.\. <D-M-t>
125 menukeyequiv Tools.Make <D-b>
126 menukeyequiv Tools.List\ Errors <D-l>
127 menukeyequiv Tools.List\ Messages <D-L>
128 menukeyequiv Tools.Next\ Error <D-]>
129 menukeyequiv Tools.Previous\ Error <D-[>
130 menukeyequiv Tools.Older\ List <D-M-[>
131 menukeyequiv Tools.Newer\ List <D-M-]>
133 menukeyequiv Window.Minimize <D-m>
134 menukeyequiv Window.Previous\ Tab <D-M-Left>
135 menukeyequiv Window.Next\ Tab <D-M-Right>
138 " Restore the previous value of 'cpoptions'.
139 let &cpo = s:cpo_save