"Go" Sublime Configure default browser + multi-browser shortcut keys

Source: Internet
Author: User

Configuration opens in Chrome,firefox

Installing Sidebarenhancements

Then use CTRL + K, CTRL + B to open the sidebar, right-click in the sidebar file and find open width-to-edit applications

Then set the way Firefox opens here.

Application: Path to modify the path to its default installation.

[
{"id": "Side-bar-files-open-with",
"Children":
[
Application Firefox
{
"caption": "Firefox",
"id": "Side-bar-files-open-with-firefox",

"Command": "Side_bar_files_open_with",
"Args": {
"Paths": [],
"Application": "D:\\Program files\\mozilla Firefox\\firefox.exe",
"Extensions": ". *"//any file with extension
}
},

{"caption": "-"},
{
"caption": "Chrome",
"id": "Side-bar-files-open-with-chrome",

"Command": "Side_bar_files_open_with",
"Args": {
"Paths": [],
"Application": "C:\\Program Files\\google\\chrome\\application\\chrome.exe",
"Extensions": ". *"//any file with extension
}
}
]
}
]Configuration opens in IE

Key Bindings User

[
{"Keys": ["Ctrl+shift+c"], "command": "Copy_path"},
{"Keys": ["Alt+f12"], "command": "Open_in_browser"},
{"Keys": ["F12"], "command": "Side_bar_files_open_with",
"Args": {
"Paths": [],
"Application": "D:\\Program files\\mozilla Firefox\\firefox.exe",
"Extensions": ". *"//any file with extension
} },
{"Keys": ["Ctrl+f12"], "command": "Side_bar_files_open_with",
"Args": {
"Paths": [],
"Application": "C:\\Program Files\\google\\chrome\\application\\chrome.exe",
"Extensions": ". *"//any file with extension
}
}

]

If it is a different browser, you can ctrl+shift+c the path and paste it directly in the address bar.

This allows you to preview the page in your browsing with these three keys:

F12:firefox

ALT + F12:ie

CTRL + F12:chrome

Of course, you can also configure, other configurations are previewed in this way.

Go Sublime Configure the default browser + multi-browser shortcut keys

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.