问题
How do i change the current keys for selecting all with the multiple cursor to CMD + G?
回答1:
The keyboard shortcuts are referrred to as key bindings in Sublime Text 2. There is documentation here and here that will show you how to manipulate them. Click "Preferences" > "Default Key Bindings" to view them. Copy and paste the ones you want to edit into "Preferences" > "User Key Bindings"
e.g.
<binding key="cmd+t,u" command="upperCase"/>
As noted in the comments, the config is now in json format for newer Sublime Text.
e.g.
{ "keys": ["cmd+t,u"], "command": "snake_case" }
来源:https://stackoverflow.com/questions/14925302/change-keyboard-shortcut-in-sublime-text-2