Platform:debian8 + sublime text 3 .
sudo vim “~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap”
[
{ “keys”: [ “ctrl+alt+f” ], “command”: “view_in_browser”, “args”: { “browser”: “firefox” } },
]
sudo vim ~/.config/sublime-text-3/Packages/User/firefox.sublime-build
{“cmd”: [“open” “-a” “/usr/bin/firefox” “$file”] }
To reopen sublime text 3 and open a html file, to press
1.ctrl +B
2.ctrl +alt +V
None of them can open the html file with firefox?
And it is no use to edite.
sudo vim “~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-keymap”
[
{ “keys”: [“f5”], “command”: “side_bar_files_open_with”,
“args”: {
“paths”: [],
“application”: “/usr/bin/firefox”,
“extensions”:".*" //any file with extension
}
}
]
To press f5 ,no firefox called to open the html file.
How to fix it?