Sublime text使用快捷键
生活随笔
收集整理的這篇文章主要介紹了
Sublime text使用快捷键
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
作者:gyfnice
鏈接:https://www.zhihu.com/question/24896283/answer/34327939
來源:知乎
著作權(quán)歸作者所有,轉(zhuǎn)載請聯(lián)系作者獲得授權(quán)。
鏈接:https://www.zhihu.com/question/24896283/answer/34327939
來源:知乎
著作權(quán)歸作者所有,轉(zhuǎn)載請聯(lián)系作者獲得授權(quán)。
Alt+R : 開啟正則表達式功能 Alt+Enter: 找到匹配目標(biāo)后全部選擇 Ctrl+R:前往 method(mac下?R) Ctrl+M:跳轉(zhuǎn)到對應(yīng)括號 按Ctrl+Shift+上下鍵,可替換行 Ctrl+D:選擇單詞,重復(fù)可增加選擇下一個相同的單詞 Ctrl+L:選擇行,重復(fù)可依次增加選擇下一行 Ctrl+Shift+P:打開命令面板 Ctrl+P:搜索項目中的文件(mac下?P),在里面輸入: admi@auto 可以定位到相應(yīng)文件夾(admin.html)下的相應(yīng)方法(auto)。 Ctrl+G:跳轉(zhuǎn)到第幾行 Ctrl+W:關(guān)閉當(dāng)前打開文件 Ctrl+Shift+W:關(guān)閉所有打開文件 Ctrl+Shift+V:粘貼并格式化 Ctrl+Shift+L:選擇多行 Ctrl+Shift+Enter:在當(dāng)前行前插入新行 Ctrl+X:刪除當(dāng)前行 Ctrl+U:軟撤銷,撤銷光標(biāo)位置 Ctrl+J:選擇標(biāo)簽內(nèi)容 Ctrl+F:查找內(nèi)容 Ctrl+Shift+F:查找并替換 Ctrl+H:替換 Ctrl+N:新建窗口 Ctrl+K+B:開關(guān)側(cè)欄 Ctrl+Shift+M:選中當(dāng)前括號內(nèi)容,重復(fù)可選著括號本身 Ctrl+F2:設(shè)置/刪除標(biāo)記 Ctrl+/:注釋當(dāng)前行 Ctrl+Shift+/:當(dāng)前位置插入注釋 Ctrl+Alt+/:塊注釋,并Focus到首行,寫注釋說明用的 Ctrl+Shift+A:選擇當(dāng)前標(biāo)簽前后,修改標(biāo)簽用的 F11:全屏 Shift+F11:全屏免打擾模式,只編輯當(dāng)前文件 Alt+F3:選擇所有相同的詞 Alt+.:閉合標(biāo)簽 Alt+Shift+數(shù)字:分屏顯示 Alt+數(shù)字:切換打開第N個文件 Shift+右鍵拖動:光標(biāo)多不,用來更改或插入列內(nèi)容 鼠標(biāo)的前進后退鍵可切換Tab文件 按Ctrl,依次點擊或選取,可需要編輯的多個位置 Ctrl+shift+D: 備份多個當(dāng)前行 Ctrl+shift+T: 恢復(fù)已經(jīng)關(guān)閉的標(biāo)簽 Editing Keypress Command Ctrl + X Delete line Ctrl + ? Insert line after Ctrl + ? + ? Insert line before Ctrl + ? + ↑ Move line/selection up Ctrl + ? + ↓ Move line/selection down Ctrl + L Select line - Repeat to select next lines Ctrl + D Select word - Repeat select others occurrences Ctrl + M Jump to closing parentheses Repeat to jump to opening parentheses Ctrl + ? + M Select all contents of the current parentheses Ctrl + KK Delete from cursor to end of line Ctrl + K + ? Delete from cursor to start of line Ctrl + ] Indent current line(s) Ctrl + [ Un-indent current line(s) Ctrl + ? + D Duplicate line(s) Ctrl + J Join line below to the end of the current line Ctrl + / Comment/un-comment current line Ctrl + ? + / Block comment current selection Ctrl + Y Redo, or repeat last keyboard shortcut command Ctrl + ? + V Paste and indent correctly Ctrl + Space Select next auto-complete suggestion Ctrl + U soft undo; jumps to your last change before undoing change when repeated Windows Ctrl + Alt + Up Column selection up Ctrl + Alt + Down Column selection down Linux Alt + ? + Up Column selection up Alt + ? + Down Column selection up Navigation/Goto Anywhere Keypress Command Ctrl + P Quick-open files by name Ctrl + R Goto symbol Ctrl + ; Goto word in current file Ctrl + G Goto line in current file General Keypress Command Ctrl + ? + P Command prompt Ctrl + KB Toggle side bar Ctrl + ? + Alt + P Show scope in status bar Find/Replace Keypress Command Ctrl + F Find Ctrl + H Replace Ctrl + ? + F Find in files Tabs Keypress Command Ctrl + ? + t Open last closed tab Ctrl + PgUp Cycle up through tabs Ctrl + PgDn Cycle down through tabs Ctrl + ? Find in files Alt + [NUM] Switch to tab number [NUM] where [NUM] <= number of tabs Split window Keypress Command Alt + ? + 2 Split view into two columns Alt + ? + 1 Revert view to single column Alt + ? + 5 Set view to grid (4 groups) Ctrl + [NUM] Jump to group where num is 1-4 Ctrl + ? + [NUM] Move file to specified group where num is 1-4 Bookmarks Keypress Command Ctrl + F2 Toggle bookmark F2 Next bookmark ? + F2 Previous bookmark Ctrl + ? + F2 Clear bookmarks Text manipulation Keypress Command Ctrl + KU Transform to Uppercase Ctrl + KL Transform to Lowercase
鏈接:https://www.zhihu.com/question/24896283/answer/34327939
來源:知乎
著作權(quán)歸作者所有,轉(zhuǎn)載請聯(lián)系作者獲得授權(quán)。
代碼片段
常用的都在這里能找到,有其它需要就自己配吧:
javascript/snippets/sublime/javascript at sublime-snippets · gyfnice/javascript · GitHub
總結(jié):
這里面有些快捷鍵單兵作戰(zhàn)能力可能不強,但如果你能靈活使用,將它們配合起來,能發(fā)揮很大的威力。
可能你會覺得快捷鍵有些多,記不下來,但是只要堅持使用,把它變?yōu)榱?xí)慣,你的開發(fā)效率肯定會得到提高的!
希望對大家有幫助,有疑問的可以單獨私信。
尾聲:windows下的快捷鍵一覽 Alt+R : 開啟正則表達式功能 Alt+Enter: 找到匹配目標(biāo)后全部選擇 Ctrl+R:前往 method(mac下?R) Ctrl+M:跳轉(zhuǎn)到對應(yīng)括號 按Ctrl+Shift+上下鍵,可替換行 Ctrl+D:選擇單詞,重復(fù)可增加選擇下一個相同的單詞 Ctrl+L:選擇行,重復(fù)可依次增加選擇下一行 Ctrl+Shift+P:打開命令面板 Ctrl+P:搜索項目中的文件(mac下?P),在里面輸入: admi@auto 可以定位到相應(yīng)文件夾(admin.html)下的相應(yīng)方法(auto)。 Ctrl+G:跳轉(zhuǎn)到第幾行 Ctrl+W:關(guān)閉當(dāng)前打開文件 Ctrl+Shift+W:關(guān)閉所有打開文件 Ctrl+Shift+V:粘貼并格式化 Ctrl+Shift+L:選擇多行 Ctrl+Shift+Enter:在當(dāng)前行前插入新行 Ctrl+X:刪除當(dāng)前行 Ctrl+U:軟撤銷,撤銷光標(biāo)位置 Ctrl+J:選擇標(biāo)簽內(nèi)容 Ctrl+F:查找內(nèi)容 Ctrl+Shift+F:查找并替換 Ctrl+H:替換 Ctrl+N:新建窗口 Ctrl+K+B:開關(guān)側(cè)欄 Ctrl+Shift+M:選中當(dāng)前括號內(nèi)容,重復(fù)可選著括號本身 Ctrl+F2:設(shè)置/刪除標(biāo)記 Ctrl+/:注釋當(dāng)前行 Ctrl+Shift+/:當(dāng)前位置插入注釋 Ctrl+Alt+/:塊注釋,并Focus到首行,寫注釋說明用的 Ctrl+Shift+A:選擇當(dāng)前標(biāo)簽前后,修改標(biāo)簽用的 F11:全屏 Shift+F11:全屏免打擾模式,只編輯當(dāng)前文件 Alt+F3:選擇所有相同的詞 Alt+.:閉合標(biāo)簽 Alt+Shift+數(shù)字:分屏顯示 Alt+數(shù)字:切換打開第N個文件 Shift+右鍵拖動:光標(biāo)多不,用來更改或插入列內(nèi)容 鼠標(biāo)的前進后退鍵可切換Tab文件 按Ctrl,依次點擊或選取,可需要編輯的多個位置 Ctrl+shift+D: 備份多個當(dāng)前行 Ctrl+shift+T: 恢復(fù)已經(jīng)關(guān)閉的標(biāo)簽Editing Keypress Command Ctrl + X Delete line Ctrl + ? Insert line after Ctrl + ? + ? Insert line before Ctrl + ? + ↑ Move line/selection up Ctrl + ? + ↓ Move line/selection down Ctrl + L Select line - Repeat to select next lines Ctrl + D Select word - Repeat select others occurrences Ctrl + M Jump to closing parentheses Repeat to jump to opening parentheses Ctrl + ? + M Select all contents of the current parentheses Ctrl + KK Delete from cursor to end of line Ctrl + K + ? Delete from cursor to start of line Ctrl + ] Indent current line(s) Ctrl + [ Un-indent current line(s) Ctrl + ? + D Duplicate line(s) Ctrl + J Join line below to the end of the current line Ctrl + / Comment/un-comment current line Ctrl + ? + / Block comment current selection Ctrl + Y Redo, or repeat last keyboard shortcut command Ctrl + ? + V Paste and indent correctly Ctrl + Space Select next auto-complete suggestion Ctrl + U soft undo; jumps to your last change before undoing change when repeated Windows Ctrl + Alt + Up Column selection up Ctrl + Alt + Down Column selection down Linux Alt + ? + Up Column selection up Alt + ? + Down Column selection up Navigation/Goto Anywhere Keypress Command Ctrl + P Quick-open files by name Ctrl + R Goto symbol Ctrl + ; Goto word in current file Ctrl + G Goto line in current file General Keypress Command Ctrl + ? + P Command prompt Ctrl + KB Toggle side bar Ctrl + ? + Alt + P Show scope in status bar Find/Replace Keypress Command Ctrl + F Find Ctrl + H Replace Ctrl + ? + F Find in files Tabs Keypress Command Ctrl + ? + t Open last closed tab Ctrl + PgUp Cycle up through tabs Ctrl + PgDn Cycle down through tabs Ctrl + ? Find in files Alt + [NUM] Switch to tab number [NUM] where [NUM] <= number of tabs Split window Keypress Command Alt + ? + 2 Split view into two columns Alt + ? + 1 Revert view to single column Alt + ? + 5 Set view to grid (4 groups) Ctrl + [NUM] Jump to group where num is 1-4 Ctrl + ? + [NUM] Move file to specified group where num is 1-4 Bookmarks Keypress Command Ctrl + F2 Toggle bookmark F2 Next bookmark ? + F2 Previous bookmark Ctrl + ? + F2 Clear bookmarks Text manipulation Keypress Command Ctrl + KU Transform to Uppercase Ctrl + KL Transform to Lowercase 作者:gyfnice鏈接:https://www.zhihu.com/question/24896283/answer/34327939
來源:知乎
著作權(quán)歸作者所有,轉(zhuǎn)載請聯(lián)系作者獲得授權(quán)。
Alt+R : 開啟正則表達式功能 Alt+Enter: 找到匹配目標(biāo)后全部選擇 Ctrl+R:前往 method(mac下?R) Ctrl+M:跳轉(zhuǎn)到對應(yīng)括號 按Ctrl+Shift+上下鍵,可替換行 Ctrl+D:選擇單詞,重復(fù)可增加選擇下一個相同的單詞 Ctrl+L:選擇行,重復(fù)可依次增加選擇下一行 Ctrl+Shift+P:打開命令面板 Ctrl+P:搜索項目中的文件(mac下?P),在里面輸入: admi@auto 可以定位到相應(yīng)文件夾(admin.html)下的相應(yīng)方法(auto)。 Ctrl+G:跳轉(zhuǎn)到第幾行 Ctrl+W:關(guān)閉當(dāng)前打開文件 Ctrl+Shift+W:關(guān)閉所有打開文件 Ctrl+Shift+V:粘貼并格式化 Ctrl+Shift+L:選擇多行 Ctrl+Shift+Enter:在當(dāng)前行前插入新行 Ctrl+X:刪除當(dāng)前行 Ctrl+U:軟撤銷,撤銷光標(biāo)位置 Ctrl+J:選擇標(biāo)簽內(nèi)容 Ctrl+F:查找內(nèi)容 Ctrl+Shift+F:查找并替換 Ctrl+H:替換 Ctrl+N:新建窗口 Ctrl+K+B:開關(guān)側(cè)欄 Ctrl+Shift+M:選中當(dāng)前括號內(nèi)容,重復(fù)可選著括號本身 Ctrl+F2:設(shè)置/刪除標(biāo)記 Ctrl+/:注釋當(dāng)前行 Ctrl+Shift+/:當(dāng)前位置插入注釋 Ctrl+Alt+/:塊注釋,并Focus到首行,寫注釋說明用的 Ctrl+Shift+A:選擇當(dāng)前標(biāo)簽前后,修改標(biāo)簽用的 F11:全屏 Shift+F11:全屏免打擾模式,只編輯當(dāng)前文件 Alt+F3:選擇所有相同的詞 Alt+.:閉合標(biāo)簽 Alt+Shift+數(shù)字:分屏顯示 Alt+數(shù)字:切換打開第N個文件 Shift+右鍵拖動:光標(biāo)多不,用來更改或插入列內(nèi)容 鼠標(biāo)的前進后退鍵可切換Tab文件 按Ctrl,依次點擊或選取,可需要編輯的多個位置 Ctrl+shift+D: 備份多個當(dāng)前行 Ctrl+shift+T: 恢復(fù)已經(jīng)關(guān)閉的標(biāo)簽 Editing Keypress Command Ctrl + X Delete line Ctrl + ? Insert line after Ctrl + ? + ? Insert line before Ctrl + ? + ↑ Move line/selection up Ctrl + ? + ↓ Move line/selection down Ctrl + L Select line - Repeat to select next lines Ctrl + D Select word - Repeat select others occurrences Ctrl + M Jump to closing parentheses Repeat to jump to opening parentheses Ctrl + ? + M Select all contents of the current parentheses Ctrl + KK Delete from cursor to end of line Ctrl + K + ? Delete from cursor to start of line Ctrl + ] Indent current line(s) Ctrl + [ Un-indent current line(s) Ctrl + ? + D Duplicate line(s) Ctrl + J Join line below to the end of the current line Ctrl + / Comment/un-comment current line Ctrl + ? + / Block comment current selection Ctrl + Y Redo, or repeat last keyboard shortcut command Ctrl + ? + V Paste and indent correctly Ctrl + Space Select next auto-complete suggestion Ctrl + U soft undo; jumps to your last change before undoing change when repeated Windows Ctrl + Alt + Up Column selection up Ctrl + Alt + Down Column selection down Linux Alt + ? + Up Column selection up Alt + ? + Down Column selection up Navigation/Goto Anywhere Keypress Command Ctrl + P Quick-open files by name Ctrl + R Goto symbol Ctrl + ; Goto word in current file Ctrl + G Goto line in current file General Keypress Command Ctrl + ? + P Command prompt Ctrl + KB Toggle side bar Ctrl + ? + Alt + P Show scope in status bar Find/Replace Keypress Command Ctrl + F Find Ctrl + H Replace Ctrl + ? + F Find in files Tabs Keypress Command Ctrl + ? + t Open last closed tab Ctrl + PgUp Cycle up through tabs Ctrl + PgDn Cycle down through tabs Ctrl + ? Find in files Alt + [NUM] Switch to tab number [NUM] where [NUM] <= number of tabs Split window Keypress Command Alt + ? + 2 Split view into two columns Alt + ? + 1 Revert view to single column Alt + ? + 5 Set view to grid (4 groups) Ctrl + [NUM] Jump to group where num is 1-4 Ctrl + ? + [NUM] Move file to specified group where num is 1-4 Bookmarks Keypress Command Ctrl + F2 Toggle bookmark F2 Next bookmark ? + F2 Previous bookmark Ctrl + ? + F2 Clear bookmarks Text manipulation Keypress Command Ctrl + KU Transform to Uppercase Ctrl + KL Transform to Lowercase
轉(zhuǎn)載于:https://www.cnblogs.com/Yfling/p/5875981.html
總結(jié)
以上是生活随笔為你收集整理的Sublime text使用快捷键的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 设置表格居中表格列宽为3厘米
- 下一篇: ksuser.dll是什么