1

As per title: I've a broken keyboard where the < and > keys don't work anymore. Can I insert such symbols with a Option + X combination?

I would prefer to avoid direct ASCII code numbers, if possible.

4
  • On your keyboard, are those also the , and . keys?
    – shoover
    Mar 7, 2019 at 13:37
  • And do you have a mouse, in order to do a one-time configuration of settings or tool?
    – shoover
    Mar 7, 2019 at 13:38
  • 1
    @shoover I suspect the OP may be using one of the European language keyboards where <> are on the key just right of left shift. Mar 7, 2019 at 15:01
  • If you know how to use AppleScript or Automator, try using them to press the key combinations then create a shortcut? If not, Keyboard Maestro should be able to do this. Mar 7, 2019 at 15:58

2 Answers 2

6

macOS doesn't do 'alt-codes', that's a Windows feature.*

Simplest solution might be to use the Keyboard Viewer, accessible from the Menu Bar once enabled in: System Preferences > Keyboard > Keyboard

On a UK keyboard they're accessed by pressing Shift ⇧

enter image description here

*From comments:
They can be made to work, though I feel they're more effort than really needed ;)
System Preferences > Keyboard > Input Sources > Plus sign > Unicode Hex input. After you choose it, you can do Option then 003C, it'll show the < symbol.

2
  • Alt codes do exist. System Preferences > Keyboard > Input Sources > Plus sign > Unicode Hex input. After you choose it, you can do Option then 003C, it'll show the < symbol.
    – MCCCS
    Mar 7, 2019 at 15:07
  • 1
    Ugh, yes - I'd forgotten about that, sorry.
    – Tetsujin
    Mar 7, 2019 at 15:22
3

You can remap those characters to the option keys using Ukelele.

You could also set up keyboard shortcuts for them via: System Preferences > Keyboard > Text > Replace With

You must log in to answer this question.

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