Deprecate "Force New Window" menu

This commit is contained in:
Bjorn Winckler
2008-08-03 21:32:30 +02:00
parent 2c9ae326a0
commit 79e728785f
6 changed files with 9 additions and 24 deletions
-2
View File
@@ -26,8 +26,6 @@
<string></string>
<key>fontSizeUp:</key>
<string></string>
<key>forceNewWindow:</key>
<string></string>
<key>hide:</key>
<string></string>
<key>hideOtherApplications:</key>
+8 -8
View File
@@ -60,6 +60,14 @@
<key>SUPERCLASS</key>
<string>NSView</string>
</dict>
<dict>
<key>CLASS</key>
<string>NSMenu</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
@@ -77,14 +85,6 @@
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
<dict>
<key>CLASS</key>
<string>NSMenu</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
<string>NSObject</string>
</dict>
<dict>
<key>ACTIONS</key>
<dict>
Binary file not shown.
-1
View File
@@ -50,7 +50,6 @@
- (void)setPreloadCacheSize:(int)size;
- (IBAction)newWindow:(id)sender;
- (IBAction)forceNewWindow:(id)sender;
- (IBAction)fileOpen:(id)sender;
- (IBAction)selectNextWindow:(id)sender;
- (IBAction)selectPreviousWindow:(id)sender;
-10
View File
@@ -849,16 +849,6 @@ static int executeInLoginShell(NSString *path, NSArray *args);
}
}
- (IBAction)forceNewWindow:(id)sender
{
// Open a new window, but clear the preload cache first so that any
// subsequent windows opening will have sourced the current .[g]vimrc
// files.
[self clearPreloadCacheWithCount:-1];
[self launchVimProcessWithArguments:nil];
[self scheduleVimControllerPreloadAfterDelay:2.0];
}
- (IBAction)fileOpen:(id)sender
{
NSString *dir = nil;
+1 -3
View File
@@ -1,7 +1,7 @@
" System gvimrc file for MacVim
"
" Maintainer: Bjorn Winckler <bjorn.winckler@gmail.com>
" Last Change: Sat Jul 05 2008
" Last Change: Sun Aug 03 2008
"
" This is a work in progress. If you feel so inclined, please help me improve
" this file.
@@ -48,7 +48,6 @@ aunmenu File.Exit
aunmenu File.Save-Exit
an <silent> 10.290 File.New\ Window <Nop>
an <silent> 10.291 File.Force\ New\ Window <Nop>
an 10.295 File.New\ Tab :tabnew<CR>
an <silent> 10.310 File.Open\.\.\. <Nop>
an <silent> 10.325 File.Open\ Recent <Nop>
@@ -206,7 +205,6 @@ endif " exists("macvim_hig_shift_movement")
"
macm File.New\ Window key=<D-n> action=newWindow:
macm File.Force\ New\ Window key=<D-S-N> action=forceNewWindow: alt=YES
macm File.New\ Tab key=<D-t>
macm File.Open\.\.\. key=<D-o> action=fileOpen:
macm File.Open\ Tab\.\.\. key=<D-T>