在Sublime Text 2中注释行的键盘快捷键
 在Sublime Text 2中 ,如何在评论中附上select内容? 
 有这个动作的键盘快捷键吗? 
默认情况下,在英文键盘的Linux / Windows上,快捷键是Ctrl + Shift + /切换块注释, Ctrl + /切换行注释。
 如果进入Preferences->Key Bindings - Default ,则可以find所有快捷方式,以下是注释行。 
 { "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } }, 
在“首选项 – >键绑定 – 用户”
 [ { "keys": ["ctrl+7"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+7"], "command": "toggle_comment", "args": { "block": true } } ] 
只要粘贴,这些都会很好!
我想补充说,在我的Mac默认块注释切换快捷键是cmd + alt + /
对于德语键盘,使用Ctrl + Shift + #切换块注释并按Ctrl + #切换行注释。
  “ Preferences->Key Bindings - Default ”中的快捷方式设置为Ctrl+Shift+/和Ctrl+/ ,但要实际使用这些function,请按上述键。 
在巴西的葡萄牙ABNT2键盘上,我有一个与JoshDM报告的类似的问题。 在文件sublime-keymap中我有:
 { "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } }, 
但我必须使用Ctrl + 和ctrl + shift + ; 。 在我的键盘上; 在/的左边。
这似乎是一个错误。
您需要将“/”replace为“7”,它适用于非英文键盘布局。
在我的键盘上(瑞典语),它是“ä”右侧的关键:“*”。
ctrl + *
在键盘(西class牙语),SO:Win7。
 进入首选项 – >键绑定 – 默认,取代..."ctrl+/"]... "ctrl+7"... 
不要使用数字键盘,它不起作用。 只要使用字母上方的数字
这对我来说是来自方括号和被用来Ctrl + / /数字键盘上的技巧。
 [ { "keys": ["ctrl+keypad_divide"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+keypad_divide"], "command": "toggle_comment", "args": { "block": true } } ] 
在使用美式键盘的Mac上,您需要cmd + / 。
看起来像某种键盘映射错误。 我是葡萄牙人,所以我使用PT / PT键盘。 崇高的文本3显然是处理/作为〜 。
最大操作系统:如果你想切换注释多个单独的行与块注释整个select,你可以做多行编辑, Shift + cmd + L ,然后cmd + /在该序列。
Ctrl + d 和 Ctrl + Shift + d ….
 [ { "keys": ["ctrl+d"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+d"], "command": "toggle_comment", "args": { "block": true } }, ] 
首先打开崇高的文字2。
 并在顶部菜单栏上selectPreferences 。 
 而不是selectKey Bindings -User 。 
而不是把这个代码,
 [ { "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }, { "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": true } } ] 
我使用Ctrl + Shift + C ,您也可以使用不同的快捷键。
 默认情况下,在英文键盘的 Linux / Windows上 ,快捷键是Ctrl+Shift+/切换块注释, Ctrl+/切换行注释。