Hi,
I just bought Sublime2 and I like it.
One mere issue: I can’t type any pipe: |
On my mac, I usually do alt + shift + L but it seems inhibited by sublime.
Any solution?
Thanks in advance,
Ben
Hi,
I just bought Sublime2 and I like it.
One mere issue: I can’t type any pipe: |
On my mac, I usually do alt + shift + L but it seems inhibited by sublime.
Any solution?
Thanks in advance,
Ben
Open your user keybindings file and add this:
{ "keys": "alt+shift+l"], "command": "insert", "args": {"characters": "|"} }
I have a similar issue with key characters: { and }
In keymap, I inserted these two lines, but it doesn’t.
[
{ “keys”: [“alt+(”], “command”: “insert”, “args”: {“characters”: “{”} },
{ “keys”: [“alt+)”], “command”: “insert”, “args”: {“characters”: “}”} },
]
That’s a pity/shame for $80 that non-US keyboards aren’t properly managed. Anyway, I can live with updating the keymap for now but even that doesn’t work. Assuming the problem is on my side, I wonder what I did get wrong with these two declarations.
If you open the Sublime console with View > Show Console
and do sublime.log_input(True)
, Sublime will log the keys you press, which can be handy to see how it’s receiving the input that you’re giving it.