I'm not able to use unicode composition (The ctrl+shift+u method) to enter unicode characters in Sublime Text 2 (v2.0.1, Build 2217) on Ubuntu 12.04 (Unity). To reproduce, just open up a tab and do this:
- Press ctrl+shift+u
- Type
00B0
- Press enter
Normally the degree sign (°) will be entered. I'm not sure if some Sublime command is overriding this keybinding, Is anyone else able to do this?
Best Answer
I just ran into this same issue and I couldn't find an answer anywhere, but I did find a solution. The problem is that the default key bindings in Sublime for Linux overwrite
ctrl+shift+u
with asoft_redo
command. To disable this:Preferences > Key Bindings - Default
ctrl+shift+u
and comment out the line containing that key binding. For example://{ "keys": ["ctrl+shift+u"], "command": "soft_redo" },
. Optionally, you could remap this to a different key binding if you really wantsoft_redo
(I have no idea what this command doesSee comment below forsoft_redo
functionality).One note though, you'll need to use
<space>
instead of<enter>
when you've completed the unicode character code as Sublime has a key binding for<enter>
.Edit:
Since you can no longer easily edit the default key bindings in Sublime Text 3, I would suggest using the answer by @brandon-lockaby.