Sublime Text 2 - Key Bindings for Apple Bluetooth Keyboard on Ubuntu/*buntu
Are you using:
- Ubuntu on your old MacBook
- Apple Bluetooth Keyboard
- Sublime Text 2
And want the Command
key to work for you?
Start Sublime Text 2 and go to Preferences
> Key Bindings - User
, and the file Default (Linux).sublime-keymap
will open up. Add these lines to get the Command key back.
[
{ "keys": ["super+n"], "command": "new_file" },
{ "keys": ["super+c"], "command": "copy" },
{ "keys": ["super+x"], "command": "cut" },
{ "keys": ["super+v"], "command": "paste" },
{ "keys": ["super+z"], "command": "undo" },
{ "keys": ["super+y"], "command": "redo" },
{ "keys": ["super+shift+z"], "command": "redo" },
{ "keys": ["super+s"], "command": "save" },
{ "keys": ["super+left"], "command": "move_to", "args": { "to": "bol" } },
{ "keys": ["super+right"], "command": "move_to", "args": { "to": "eol" } },
{ "keys": ["super+a"], "command": "select_all" }
]
References:
Written by Christopher Kobayashi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text 2
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#