以下由sublime教學專欄為大家介紹sublime必掌握的基本操作,希望對需要的朋友有幫助!
![sublime必掌握的基本操作(收藏)](https://img.php.cn/upload/article/000/000/020/5eeaf8a149440993.jpg)
home鍵:將遊標移到本句開頭
end鍵:將遊標移到本句結尾
alt shift 數字鍵(1,2..):分割螢幕操作,若2則分成兩個螢幕
![](https://img.php.cn/upload/article/000/000/020/a157189785eb15e6daf02c615723b9f9-0.png)
#
##點選行號附近向下箭頭和向上箭頭:程式碼折疊與展開
![](https://img.php.cn/upload/article/000/000/020/2439df692588e0a2eaf7953b1d658ed2-1.png)
![](https://img.php.cn/upload/article/000/000/020/2439df692588e0a2eaf7953b1d658ed2-2.png)
#
crtl D :選取一個單字
crtl L:選取一行
crtl A:選取全部
crtl 遊標點擊多處位置:多處選擇,同時可以進行編輯
![](https://img.php.cn/upload/article/000/000/020/c98b48114bfb1e8f7c143609d3df49f3-3.png)
![](https://img.php.cn/upload/article/000/000/020/c98b48114bfb1e8f7c143609d3df49f3-4.png)
crtl ] 選取程式碼:程式碼整體向右縮排
crtl [ 選取程式碼:程式碼整體向左縮排
crtl N:新頁面
! tab(擴充):輸入HTML基本頁面範本
![](https://img.php.cn/upload/article/000/000/020/c98b48114bfb1e8f7c143609d3df49f3-5.png)
其他標籤符號tab(擴充):擴充標籤
例如:p tab :
表達式"p>img*5 a" tab: 標籤的巢狀。
>表示隔開下一級,*表示同時產生多個, 表示同一層級的標籤
![](https://img.php.cn/upload/article/000/000/020/de3c0dd2929c5cf00c3bfef7587d5202-6.png)
#表達式"(p>p) (p>img)" tab: 標籤的分組
![](https://img.php.cn/upload/article/000/000/020/de3c0dd2929c5cf00c3bfef7587d5202-7.png)
lorem tab:快速產生一段文字
![](https://img.php.cn/upload/article/000/000/020/7291cb403e235d3e6e1f048db88f7751-8.png)
lorem4 tab :快速產生4個字的文字
ctrl ?選取部分:新增註解或撤銷註解
Ctrl 滑輪:放大縮小介面
##
#右鍵open in Browser: 在瀏覽器中開啟頁面
更多sublime相關技術文章,請造訪
sublime text#教學欄!
以上是sublime必掌握的基本操作(收藏)的詳細內容。更多資訊請關注PHP中文網其他相關文章!