温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Sublime3快捷键大全

发布时间:2020-07-14 03:13:05 来源:网络 阅读:2924 作者:51CTO_李晓鹏 栏目:开发技术

 Sublime Text3比起Notepad++,UltraEdit之类Code编辑器来说配合着各种插件使用,Sublime Text在实际的使用中变得非常的顺手。

 Sublime快捷键有给我们带来了便利,现在分享下在Sublime Text 2中的快捷键,如下: 

快捷键功能

ctrl+shift+n打开新Sublime

ctrl+shift+w关闭Sublime,关闭所有打开文件

ctrl+shift+t重新打开最近关闭文件

ctrl+n新建文件

ctrl+s保存

ctrl+shift+s另存为

ctrl+f4关闭文件

ctrl+w关闭

ctrl+k, ctrl+b切换侧边栏显示状态

f11切换全屏状态

shift+f11免打扰模式状态切换

backspace删除左侧

shift+backspace左侧删除

ctrl+shift+backspace左侧全部删除

delete右侧删除

enter插入

shift+enter插入

ctrl+z撤消

ctrl+shift+z重做

ctrl+y重做或重复

ctrl+u软撤消

ctrl+shift+u软重做

ctrl+shift+v粘贴并格式化

shift+delete剪切

ctrl+insert拷贝

shift+insert粘贴

ctrl+x剪切

ctrl+c拷贝

ctrl+v粘贴

left移动

right移动

up移动

down移动

shift+left移动并选择

shift+right移动并选择

shift+up移动并选择

shift+down移动并选择

ctrl+left按\w规则移动(跳跃)

ctrl+right按\w规则移动(跳跃)

ctrl+shift+left按\w规则移动并选择(跳跃)

ctrl+shift+right按\w规则移动并选择(跳跃)

alt+left按单词移动

alt+right按单词移动

alt+shift+left按单词移动并选择

alt+shift+right按单词移动并选择

ctrl+alt+up选择多行进行编辑

ctrl+alt+down选择多行进行编辑

pageup移动

pagedown移动

shift+pageup移动+选择

shift+pagedown移动+选择

home移动到行首

end移动到行尾

shift+home选择到行首

shift+end选择到行尾

ctrl+home移动到页首行头

ctrl+end移动到页尾行尾

ctrl+shift+home选择到页首行头

ctrl+shift+end选择到页尾行尾

ctrl+up滚动行

ctrl+down滚动行

ctrl+pagedown下一视图(视觉位置)

ctrl+pageup前一视图

ctrl+tab栈中下一视图(打开顺序)

ctrl+shift+tab栈中前一视图

ctrl+a全选

ctrl+shift+l选择多行编辑

escape单个选择

escape清除字段

escape清除字段

escape隐藏面板

escapehide overlay

escapehide auto complete

tabinsert best completion

tabinsert best completion

tabreplace completion with next completion

tabreindent

tabindent

tabnext field

tabcommit completion

shift+tabinsert

shift+tabunindent

shift+tabunindent

shift+tabunindent

shift+tabprev field

ctrl+]缩进

ctrl+[不缩进

inserttoggle overwrite

ctrl+l选择行,重复可依次增加选择下一行

ctrl+d选择单词,重复可增加选择下一个相同的单词

ctrl+k, ctrl+dfind under expand skip

ctrl+shift+spaceexpand selection

ctrl+shift+mexpand selection

ctrl+m跳转到对应括号

ctrl+shift+jexpand selection

ctrl+shift+aexpand selection

alt+.close tag

ctrl+qtoggle record macro

ctrl+shift+qrun macro

ctrl+enterrun macro file

ctrl+shift+enter在当前行前插入新行

entercommit completion

ctrl+p搜索项目中的文件

ctrl+shift+p打开命令面板

ctrl+alt+pprompt select project

ctrl+r前往Method

ctrl+g跳转到第几行

ctrl+;show overlay

ctrl+ishow panel

ctrl+shift+ishow panel

ctrl+f查找

ctrl+h查找替换

ctrl+shift+h查找替换下一个

f3下一个匹配项

shift+f3上一个匹配项

ctrl+f3下一个匹配项

ctrl+shift+f3find under prev

alt+f3find all under

ctrl+eslurp find string

ctrl+shift+eslurp replace string

ctrl+shift+fshow panel

f4next result

shift+f4prev result

f6toggle setting

ctrl+f6next misspelling

ctrl+shift+f6prev misspelling

ctrl+shift+upswap line up

ctrl+shift+downswap line down

ctrl+backspacedelete word

ctrl+shift+backspacerun macro file

ctrl+deletedelete word

ctrl+shift+deleterun macro file

ctrl+/当前行注释状态切换

ctrl+shift+/当前位置注释状态切换

ctrl+j选择标签内容,将后继行附加到行尾

ctrl+shift+dduplicate line

ctrl+`show panel

ctrl+spaceauto complete

ctrl+spacereplace completion with auto complete

ctrl+alt+shift+pshow scope name

f7build

ctrl+bbuild

ctrl+shift+bbuild

ctrl+breakexec

ctrl+ttranspose

f9行排序

ctrl+f9行排序

// Auto-pair quotes

\insert snippet

\insert snippet

\move

backspacerun macro file

// Auto-pair single quotes

'insert snippet

'insert snippet

'move

backspacerun macro file

// Auto-pair brackets

(insert snippet

(insert snippet

)move

backspacerun macro file

// Auto-pair square brackets

[insert snippet

[insert snippet

]move

backspacerun macro file

// Auto-pair curly brackets

{insert snippet

{insert snippet

}move

backspacerun macro file

enterrun macro file

shift+enterrun macro file

ctrl+1focus group

ctrl+2focus group

ctrl+3focus group

ctrl+4focus group

ctrl+shift+1move to group

ctrl+shift+2move to group

ctrl+shift+3move to group

ctrl+shift+4move to group

ctrl+0focus side bar

alt+1select by index

alt+2select by index

alt+3select by index

alt+4select by index

alt+5select by index

alt+6select by index

alt+7select by index

alt+8select by index

alt+9select by index

alt+0select by index

f2next bookmark

shift+f2prev bookmark

ctrl+f2标记状态切换

ctrl+shift+f2clear bookmarks

alt+f2select all bookmarks

ctrl+shift+krun macro file

alt+qwrap lines

ctrl+k, ctrl+uupper case

ctrl+k, ctrl+llower case

ctrl+k, ctrl+spaceset mark

ctrl+k, ctrl+aselect to mark

ctrl+k, ctrl+wdelete to mark

ctrl+k, ctrl+xswap with mark

ctrl+k, ctrl+yyank

ctrl+k, ctrl+krun macro file

ctrl+k, ctrl+backspacerun macro file

ctrl+k, ctrl+gclear bookmarks

ctrl+k, ctrl+cshow at center

ctrl++increase font size

ctrl+=increase font size

ctrl+keypad plusincrease font size

ctrl+-decrease font size

ctrl+keypad minusdecrease font size

alt+shift+winsert snippet

ctrl+shift+[折叠(代码)

ctrl+shift+]不折叠

ctrl+k, ctrl+1按层级折叠(代码),数字是层级数

ctrl+k, ctrl+2按层级折叠(代码),数字是层级数

ctrl+k, ctrl+3按层级折叠(代码),数字是层级数

ctrl+k, ctrl+4按层级折叠(代码),数字是层级数

ctrl+k, ctrl+5按层级折叠(代码),数字是层级数

ctrl+k, ctrl+6按层级折叠(代码),数字是层级数

ctrl+k, ctrl+7按层级折叠(代码),数字是层级数

ctrl+k, ctrl+8按层级折叠(代码),数字是层级数

ctrl+k, ctrl+9按层级折叠(代码),数字是层级数

ctrl+k, ctrl+0unfold all

ctrl+k, ctrl+junfold all

ctrl+k, ctrl+tfold tag attributes

context menucontext menu

alt+ctoggle case sensitive

alt+rtoggle regex

alt+wtoggle whole word

alt+atoggle preserve case

// 查找面板的按键绑定

enter向后查找

shift+enter向前查找

alt+enter查找全部

// 替换面板的按键绑定

enter查找下一个

shift+enter查找前一个

alt+enter查找全部

ctrl+alt+enter替换全部

// Incremental find panel key bindings

enterhide panel

shift+enterfind prev

alt+enterfind all


向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI