[GH-ISSUE #59] Feature request: Show keys in 'C-x' 'M-x' 'C-M-x' 'SPC' style. #46

Closed
opened 2026-05-05 04:48:22 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @jiegec on GitHub (Apr 7, 2016).
Original GitHub issue: https://github.com/keycastr/keycastr/issues/59

This syntax comes from Emacs: https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Sequences.html#Key-Sequences. I think it would look great for those recording Emacs videos especially tutorial ones.

Originally created by @jiegec on GitHub (Apr 7, 2016). Original GitHub issue: https://github.com/keycastr/keycastr/issues/59 This syntax comes from Emacs: https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Sequences.html#Key-Sequences. I think it would look great for those recording Emacs videos especially tutorial ones.
gitea-mirror 2026-05-05 04:48:22 -06:00
Author
Owner

@sdeken commented on GitHub (Sep 21, 2016):

Ideally I'd like to see this implemented as a new visualizer - the intent was to allow visualizers to be developed by third parties and installed by the user, but I don't know that it ever made it into the product. I agree it would be useful!

<!-- gh-comment-id:248482120 --> @sdeken commented on GitHub (Sep 21, 2016): Ideally I'd like to see this implemented as a new visualizer - the intent was to allow visualizers to be developed by third parties and installed by the user, but I don't know that it ever made it into the product. I agree it would be useful!
Author
Owner

@alexjgriffith commented on GitHub (May 12, 2019):

You have to overwrite variables defined in KCKeystrokeTransformer.m

static NSString* kCommandKeyString = @"\xe2\x8c\x98";
// static NSString* kAltKeyString = @"\xe2\x8c\xa5";
static NSString* kAltKeyString = @"M-";
// static NSString* kControlKeyString = @"\xe2\x8c\x83";
static NSString* kControlKeyString = @"C-";
// static NSString* kShiftKeyString = @"\xe2\x87\xa7";
static NSString* kShiftKeyString = @"S-;
// static NSString* kLeftTabString = @"\xe2\x87\xa4";
static NSString* kAltKeyString = @"M-";

Also check out _specialKeys in the same file (~ L7), it will let you change the symbols used for space return etc

You can rebuild the whole project with the new bindings in xcode. I'm not familiar enough with this project or objective c to be sure if there is an idiomatic way to do this in a plugin.

<!-- gh-comment-id:491567958 --> @alexjgriffith commented on GitHub (May 12, 2019): You have to overwrite variables defined in `KCKeystrokeTransformer.m` ``` static NSString* kCommandKeyString = @"\xe2\x8c\x98"; // static NSString* kAltKeyString = @"\xe2\x8c\xa5"; static NSString* kAltKeyString = @"M-"; // static NSString* kControlKeyString = @"\xe2\x8c\x83"; static NSString* kControlKeyString = @"C-"; // static NSString* kShiftKeyString = @"\xe2\x87\xa7"; static NSString* kShiftKeyString = @"S-; // static NSString* kLeftTabString = @"\xe2\x87\xa4"; static NSString* kAltKeyString = @"M-"; ``` Also check out `_specialKeys` in the same file (~ L7), it will let you change the symbols used for space return etc You can rebuild the whole project with the new bindings in xcode. I'm not familiar enough with this project or objective c to be sure if there is an idiomatic way to do this in a plugin.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/keycastr#46
No description provided.