首页 > 学院 > 编程设计 > 正文

windows中sublime text2常用快捷键

2020-06-27 15:21:55
字体:
来源:转载
供稿:网友
Ctrl+L            选择整行(按住-继续选择下行)                          
Ctrl+KK          从光标处删除至行尾                                     
Ctrl+Shift+K     删除整行                                               
Ctrl+Shift+D     复制光标所在整行,插入在该行之前                       
Ctrl+J           合并行(已选择需要合并的多行时)                       
Ctrl+KU          改为大写                                               
Ctrl+KL          改为小写                                               
Ctrl+D           选词 (按住-继续选择下个相同的字符串)                 
Ctrl+M           光标移动至括号内开始或结束的位置                       
Ctrl+Shift+M     选择括号内的内容(按住-继续选择父括号)                
Ctrl+/           注释整行(如已选择内容,同“Ctrl+Shift+/”效果)       
Ctrl+Shift+/     注释已选择内容                                         
Ctrl+Space       自动完成(win与系统快捷键冲突,需修改)                
Ctrl+Z           撤销                                                   
Ctrl+Y           恢复撤销                                               
Ctrl+Shift+V      粘贴并自动缩进(其它兄弟写的,实测win系统自动缩进无效)
Ctrl+M           光标跳至对应的括号                                     
Alt+.            闭合当前标签                                           
Ctrl+Shift+A     选择光标位置父标签对儿                                 
Ctrl+Shift+[     折叠代码                                               
Ctrl+Shift+]     展开代码                                               
Ctrl+KT          折叠属性                                               
Ctrl+K0          展开所有                                               
Ctrl+U           软撤销                                                 
Ctrl+T           词互换                                                 
Tab              缩进                                                   
Shift+Tab        去除缩进                                               
Ctrl+Shift+UP    与上行互换                                             
Ctrl+Shift+DOWN  与下行互换                                             
Ctrl+K Backspace 从光标处删除至行首                                     
Ctrl+Enter       插入行后                                               
Ctrl+Shift Enter 插入行前                                               
F9               行排序(按a-z)
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表