Sublime Text3如何設(shè)置快捷鍵打開(kāi)瀏覽器

下面由sublime教程欄目給大家介紹sublime text3如何設(shè)置快捷鍵打開(kāi)瀏覽器,希望對(duì)需要的朋友有所幫助!

在不同瀏覽器查看代碼效果可謂是家常便飯,所以用不同快捷鍵對(duì)應(yīng)打開(kāi)不同瀏覽器可以大大提高工作效率。

?本篇分享個(gè)簡(jiǎn)單的方法只需二步:

一、安裝插件SideBarEnhancements

ctrl+shift+P 轉(zhuǎn) Package Control: Install PackageSideBarEnhancements 安裝。

沒(méi)裝Package Control?請(qǐng)看Sublime Text3—軟件安裝、package control插件管理。

Sublime Text3如何設(shè)置快捷鍵打開(kāi)瀏覽器

二、設(shè)置快捷鍵

打開(kāi)Key Binding | user復(fù)制下面代碼,然后修改為你的瀏覽器路徑,重啟軟件。

Sublime Text3如何設(shè)置快捷鍵打開(kāi)瀏覽器

[ ????{ ????????"keys":?["f1"], ????????"command":?"side_bar_files_open_with", ????????"args":?{ ????????????"application":?"D:Program?Files?(x86)Mozilla?Firefoxfirefox.exe", ????????????"extensions":?".*", ????????????"paths":?[] ????????} ????}, ????{ ????????"keys":?["f2"], ????????"command":?"side_bar_files_open_with", ????????"args":?{ ????????????"application":?"C:UsersdelllAppDataLocalGoogleChromeApplicationchrome.exe", ????????????"extensions":?".*", ????????????"paths":?[] ????????} ????}, ????{ ????????"keys":?["f5"], ????????"command":?"side_bar_files_open_with", ????????"args":?{ ????????????"application":?"C:Program?FilesInternet?Exploreriexplore.exe", ????????????"extensions":?".*", ????????????"paths":?[] ????????} ????} ]

Tips:

1.f3是查找下一個(gè)的快捷鍵,f11是全屏的快捷鍵,設(shè)置時(shí)小心沖突!詳細(xì)快捷鍵介紹請(qǐng)看:Sublime Text—自帶快捷鍵介紹。

Sublime Text3如何設(shè)置快捷鍵打開(kāi)瀏覽器

?keys是按鍵,application是瀏覽器程序路徑,extensions是匹配所有的文件后綴格式。

2.桌面的快捷圖標(biāo)怎么看路徑?選中圖標(biāo) | 右鍵 | 屬性,反斜杠需轉(zhuǎn)義把改為

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊13 分享
站長(zhǎng)的頭像-小浪學(xué)習(xí)網(wǎng)月度會(huì)員