Reputation: 15402
Each time I have to copy paste "||" from elsewhere when I want to type the double vertical bar of the OR sign.
Is there a keyboard shortcut to type it?
Upvotes: 19
Views: 90020
Reputation: 21
2021 MacBook Pro 14" UK keyboard
|| --> shift + backslash
below you can find a graphic representation ;)
Upvotes: 1
Reputation: 1751
I have a Macbook with Danish keyboard, and for me I use the Alt+i, to make the | operand.
Upvotes: 15
Reputation: 291
That did not work for me either. But this one did:
Alt+ 7 with the Alt key on the right side of the keyboard or Ctrl + Alt + 7 with the Alt key on the left side
Upvotes: 22
Reputation: 7495
I am using a UK external keyboard and I had to use Shift ~.
The ~ key is next to carriage return and also has the # symbol
Upvotes: 1
Reputation: 43823
This site lists the shortcut as Shift+Alt+L if you use a Mac keyboard. But the "pipe" symbol does actually exist on the Mac UK keyboard so can't you just press that key twice?
Upvotes: 26
Reputation: 1
Use right alt + (. The key is to the right of the ? key on my keyboard.
Upvotes: 0
Reputation: 3017
It is Shift + Alt + "I" for Turkish QWERTY users. Shift + Alt + "L" did not work for me, even with U.S. input source.
Upvotes: 3