Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for DefaultKeyBindings.dict, based on patch in issue 1630…
… by JTheAppleSeed
- Loading branch information
Showing
5 changed files
with
310 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// iTermNSKeyBindingEmulator.h | ||
// iTerm | ||
// | ||
// Created by George Nachman on 12/8/13. | ||
// | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
@interface iTermNSKeyBindingEmulator : NSObject | ||
|
||
+ (instancetype)sharedInstance; | ||
|
||
// Returns YES if the user's key bindings should handle this event. | ||
- (BOOL)handlesEvent:(NSEvent *)event; | ||
|
||
@end |
Oops, something went wrong.
5da3dae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to handle "@" in the modifiers which stands for Command, and escapes of it, IOW "^@" means Ctrl-@ and not Ctrl-Cmd obviously.
but it seems to work very well that aside, thank you !!
5da3dae
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.