Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to set shortcut keys for Sublime Text3 to open a browser

Shulou Source: shulou.com Published: 2022-06-02 12:52:20 11月14日 Update

This article mainly introduces Sublime Text3 how to set keyboard shortcuts to open the browser, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

Below by the sublime tutorial column to introduce Sublime Text3 how to set keyboard shortcuts to open the browser, I hope to help friends in need!

It is common to view code effects in different browsers, so using different keyboard shortcuts to open different browsers can greatly improve work efficiency.

A simple way to share in this article is only two steps:

Install the plug-in SideBarEnhancements

Ctrl+shift+P to Package Control: Install Package to search for SideBarEnhancements installation.

No Package Control installed? Please see: Sublime Text3- software installation, package control plug-in management.

Second, set shortcut keys

Open Key Binding | user to copy the following code, then change it to your browser path, and restart the software.

[{"keys": ["F1"], "command": "side_bar_files_open_with", "args": {"application": "D:\\ Program Files (x86)\\ Mozilla Firefox\\ firefox.exe", "extensions": ". *", "paths": []}} {"keys": [f2 "]," command ":" side_bar_files_open_with "," args ": {" application ":" C:\\ Users\\ delll\\ AppData\\ Local\\ Google\\ Chrome\\ Application\\ chrome.exe "," extensions ":". * "," paths ": []}} {"keys": ["f5"], "command": "side_bar_files_open_with", "args": {"application": "C:\\ Program Files\\ Internet Explorer\\ iexplore.exe", "extensions": ". *", "paths": []}]

Tips:

1.f3 is the shortcut key to find the next one, and f11 is the shortcut key for full screen. Beware of conflicts when setting! For detailed shortcut key introduction, please see: Sublime Text- has its own shortcut key introduction.

Keys is the key, application is the browser program path, and extensions matches all file suffix formats.

two。 How do you view the path of the shortcut icon on the desktop? Select the icon | right | attribute. The backslash needs to be escaped and changed to\.

Thank you for reading this article carefully. I hope the article "how to set shortcut keys to open the browser with Sublime Text3" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Tags: Keyboard shortcuts browsers browsing articles different paths codes icons plug-ins friends please see software help commonplace value convenience interest just at the same time suffix Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Docker Xiaomi Apple Microsoft