mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Default menu "MacVim Help" item opens help window maximized
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
<string></string>
|
||||
<key>selectPreviousWindow:</key>
|
||||
<string></string>
|
||||
<key>showVimHelp:</key>
|
||||
<string></string>
|
||||
<key>terminate:</key>
|
||||
<string></string>
|
||||
<key>undo:</key>
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
<string>id</string>
|
||||
<key>showHelp</key>
|
||||
<string>id</string>
|
||||
<key>showVimHelp</key>
|
||||
<string>id</string>
|
||||
<key>zoomAll</key>
|
||||
<string>id</string>
|
||||
</dict>
|
||||
<key>CLASS</key>
|
||||
<string>MMAppController</string>
|
||||
|
||||
Binary file not shown.
@@ -38,7 +38,7 @@
|
||||
- (IBAction)fontSizeDown:(id)sender;
|
||||
- (IBAction)orderFrontPreferencePanel:(id)sender;
|
||||
- (IBAction)openWebsite:(id)sender;
|
||||
- (IBAction)showHelp:(id)sender;
|
||||
- (IBAction)showVimHelp:(id)sender;
|
||||
- (IBAction)zoomAll:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
@@ -736,10 +736,11 @@ static int executeInLoginShell(NSString *path, NSArray *args);
|
||||
[NSURL URLWithString:MMWebsiteString]];
|
||||
}
|
||||
|
||||
- (IBAction)showHelp:(id)sender
|
||||
- (IBAction)showVimHelp:(id)sender
|
||||
{
|
||||
// Open a new window with the help window maximized.
|
||||
[self launchVimProcessWithArguments:[NSArray arrayWithObjects:
|
||||
@"-c", @":h gui_mac", nil]];
|
||||
@"-c", @":h gui_mac", @"-c", @":res", nil]];
|
||||
}
|
||||
|
||||
- (IBAction)zoomAll:(id)sender
|
||||
|
||||
Reference in New Issue
Block a user