更改Sublime Text 2中的键盘快捷键 [英] Change keyboard shortcut in sublime text 2

查看:119
本文介绍了更改Sublime Text 2中的键盘快捷键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将使用多光标选择全部的当前键更改为CMD + G?

How do i change the current keys for selecting all with the multiple cursor to CMD + G?

推荐答案

键盘的快捷方式在Sublime Text 2中被称为键绑定.存在文档在这里,它将向您展示如何操作它们.单击首选项">默认键绑定"以查看它们.将您要编辑的内容复制并粘贴到首选项">用户键绑定"中

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"

例如

 <binding key="cmd+t,u" command="upperCase"/>

如评论中所述,配置现在为json格式,用于更新的Sublime Text.

As noted in the comments, the config is now in json format for newer Sublime Text.

例如

    { "keys": ["cmd+t,u"], "command": "snake_case" }

这篇关于更改Sublime Text 2中的键盘快捷键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆