SublimeText2 快捷键一览表

快捷键功能ctrl+shift+n打开新Sublimectrl+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 overlayescapehide auto completetabinsert best completiontabinsert best completiontabreplace completion with next completiontabreindenttabindenttabnext fieldtabcommit completionshift+tabinsertshift+tabunindentshift+tabunindentshift+tabunindentshift+tabprev fieldctrl+]缩进ctrl+[不缩进inserttoggle overwritectrl+l选择行,重复可依次增加选择下一行ctrl+d选择单词,重复可增加选择下一个相同的单词ctrl+k, ctrl+dfind under expand skipctrl+shift+spaceexpand selectionctrl+shift+mexpand selectionctrl+m跳转到对应括号ctrl+shift+jexpand selectionctrl+shift+aexpand selectionalt+.close tagctrl+qtoggle record macroctrl+shift+qrun macroctrl+enterrun macro filectrl+shift+enter在当前行前插入新行entercommit completionctrl+p搜索项目中的文件ctrl+shift+p打开命令面板ctrl+alt+pprompt select projectctrl+r前往Methodctrl+g跳转到第几行ctrl+;show overlayctrl+ishow panelctrl+shift+ishow panelctrl+f查找ctrl+h查找替换ctrl+shift+h查找替换下一个f3下一个匹配项shift+f3上一个匹配项ctrl+f3下一个匹配项ctrl+shift+f3find under prevalt+f3find all underctrl+eslurp find stringctrl+shift+eslurp replace stringctrl+shift+fshow panelf4next resultshift+f4prev resultf6toggle settingctrl+f6next misspellingctrl+shift+f6prev misspellingctrl+shift+upswap line upctrl+shift+downswap line downctrl+backspacedelete wordctrl+shift+backspacerun macro filectrl+deletedelete wordctrl+shift+deleterun macro filectrl+/当前行注释状态切换ctrl+shift+/当前位置注释状态切换ctrl+j选择标签内容,将后继行附加到行尾ctrl+shift+dduplicate linectrl+`show panelctrl+spaceauto completectrl+spacereplace completion with auto completectrl+alt+shift+pshow scope namef7buildctrl+bbuildctrl+shift+bbuildctrl+breakexecctrl+ttransposef9行排序ctrl+f9行排序// Auto-pair quotes\insert snippet\insert snippet\movebackspacerun macro file// Auto-pair single quotes'insert snippet'insert snippet'movebackspacerun macro file// Auto-pair brackets(insert snippet(insert snippet)movebackspacerun macro file// Auto-pair square brackets[insert snippet[insert snippet]movebackspacerun macro file// Auto-pair curly brackets{insert snippet{insert snippet}movebackspacerun macro fileenterrun macro fileshift+enterrun macro filectrl+1focus groupctrl+2focus groupctrl+3focus groupctrl+4focus groupctrl+shift+1move to groupctrl+shift+2move to groupctrl+shift+3move to groupctrl+shift+4move to groupctrl+0focus side baralt+1select by indexalt+2select by indexalt+3select by indexalt+4select by indexalt+5select by indexalt+6select by indexalt+7select by indexalt+8select by indexalt+9select by indexalt+0select by indexf2next bookmarkshift+f2prev bookmarkctrl+f2标记状态切换ctrl+shift+f2clear bookmarksalt+f2select all bookmarksctrl+shift+krun macro filealt+qwrap linesctrl+k, ctrl+uupper casectrl+k, ctrl+llower casectrl+k, ctrl+spaceset markctrl+k, ctrl+aselect to markctrl+k, ctrl+wdelete to markctrl+k, ctrl+xswap with markctrl+k, ctrl+yyankctrl+k, ctrl+krun macro filectrl+k, ctrl+backspacerun macro filectrl+k, ctrl+gclear bookmarksctrl+k, ctrl+cshow at centerctrl++increase font sizectrl+=increase font sizectrl+keypad plusincrease font sizectrl+-decrease font sizectrl+keypad minusdecrease font sizealt+shift+winsert snippetctrl+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 allctrl+k, ctrl+junfold allctrl+k, ctrl+tfold tag attributescontext menucontext menualt+ctoggle case sensitivealt+rtoggle regexalt+wtoggle whole wordalt+atoggle preserve case// 查找面板的按键绑定enter向后查找shift+enter向前查找alt+enter查找全部// 替换面板的按键绑定enter查找下一个shift+enter查找前一个alt+enter查找全部ctrl+alt+enter替换全部// Incremental find panel key bindingsenterhide panelshift+enterfind prevalt+enterfind all

]]>

原创文章,作者:键盘游走者,如若转载,请注明出处:http://www.708034.com/2015/07/sublimetext2-%e5%bf%ab%e6%8d%b7%e9%94%ae%e4%b8%80%e8%a7%88%e8%a1%a8/

发表评论

邮箱地址不会被公开。 必填项已用*标注