Change keyboard shortcut in sublime text 2

自古美人都是妖i 提交于 2020-01-12 14:02:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!