30

Since Apple decided to give us shortcuts for all the text options except strikethrough, how can we do this with one keyboard stroke?

I saw some other solutions, but I want my Cmd+Shift+x shortcut back!!

keyboardShortcuts

3 Answers 3

56

It doesn't need any 3rd party solution, you can do this natively.

System Prefs > Keyboard > Shortcuts > App Shortcuts.

Click the + sign, select the Notes app [or all apps], the name of the menu command & add the key command of your choice.
BTW, the native functionality doesn't care where in the menu hierarchy it is, it will find it anyway. The only time you ever need to specify is if there are two identically-named functions in different menus in which case you can force a specific menu by menu name->sub menu->function syntax

enter image description here

6
  • If the keyboard shortcut you choose is already in use, this method will silently override it. Is there a way of finding out if this has happened, and/or a way of listing all shortcuts already in use by the chosen app?
    – Bobby Jack
    Commented Jun 1, 2021 at 9:38
  • 2
    Cheatsheet - see apple.stackexchange.com/questions/145582/…
    – Tetsujin
    Commented Jun 1, 2021 at 10:59
  • Wow, I learned something!!! You are a hero of the first order. Commented Nov 6, 2021 at 21:42
  • Thanks you so much, this was so annoying, and now I can improve ANY application with shortcuts. Incredible.
    – dzajic
    Commented Oct 3, 2022 at 14:54
  • Just FYI, I tried this in Ventura (13.0.1) and just typing "Strikethrough" didn't work. I did have to specify "Format->Font->Strikethrough" for the Menu Title in the shortcut config. Commented Dec 1, 2022 at 14:21
0

Another way, utilizing the DefaultKeyBinding.dict, is to add a line to your ~/Library/KeyBindings/DefaultKeyBinding.dict:

{
  "^-" = "strikethrough:"; //this would bind ctrl+-
}

For documentation see https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/EventOverview/TextDefaultsBindings/TextDefaultsBindings.html. Please do a google search for how to specify other keys.

The benefit of this method is obvious. The DefaultKeyBinding.dict is much more customizable, including the possiblity to define multi-keystroke bindings; Not all apps populate their menu bar with the "font" submenu; Also I suspect this is simply faster since it is more direct.

-1

I discovered that I can use the Better Touch Tool app to do this super easily!

I added the Notes app specifically and made a Trigger Menubar Menu-item shortcut with the text Format;Font;Strikethrough that works on Mac OS 11.2.1 that I'm on now.

Works like a charm! It's like they never removed it!

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .