Append KS_EXTRA, KE_CSI, to CSI byte added to input buffer when inserting text
[MacVim/jjgod.git] / gvimrc
blobe22bfc3c4332265bdb47d1c4504c2008e0d0c4a1
1 " System gvimrc file for MacVim
3 " Maintainer:   Björn Winckler <bjorn.winckler@gmail.com>
4 " Last Change:  Sat Aug 11 2007
6 " This is a work in progress.  If you feel so inclined, please help me improve
7 " this file.
10 " Make sure the '<' and 'C' flags are not included in 'cpoptions', otherwise
11 " <CR> would not be recognized.  See ":help 'cpoptions'".
12 let s:cpo_save = &cpo
13 set cpo&vim
17 " Global default options
20 if !exists("syntax_on")
21   syntax on
22 endif
26 " Extra menus
30 " File menu
32 aunmenu File.New
33 aunmenu File.Close
34 aunmenu File.-SEP4-
35 aunmenu File.Exit
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 10.330 File.Close<Tab>:q                 :confirm q<CR>
42 "an <silent> 10.330 File.Close\ Window       :confirm qa<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>
50 " Window menu
51 aunmenu Window
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>
65 " Toolbar
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.
73 "aunmenu ToolBar.Undo
74 "aunmenu ToolBar.Redo
75 "aunmenu ToolBar.-sep2-
76 "aunmenu ToolBar.Cut
77 "aunmenu ToolBar.Copy
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>
95 " Keyboard mappings
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-C-Right>
129 menukeyequiv Tools.Previous\ Error  <D-C-Left>
130 menukeyequiv Tools.Older\ List      <D-C-Up>
131 menukeyequiv Tools.Newer\ List      <D-C-Down>
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
140 unlet s:cpo_save