安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 , u h5 v$ h' d/ T4 _
application : 路径要修改为自己默认安装的路径。
7 K$ F1 f/ w5 p* L& G0 c& @0 s- [
% @9 o6 ^7 n' Y- o - {"id": "side-bar-files-open-with",3 d# _3 B) E; O! `
- "children":! x8 k [+ v: f4 I* g
- [
, H/ _: m9 e/ c! A- c9 P7 R) P+ k - //application firefox: p7 b0 l2 L. l$ q- I& m. D
- {7 A3 g, P; \* c# \7 w
- "caption": "firefox",
8 ~& e& `% J6 T! f; w) ^( M7 i - "id": "side-bar-files-open-with-firefox",
& ^( y0 P# W R4 x7 N% R
0 {- ` W5 C2 r5 {& b, l2 W- "command": "side_bar_files_open_with",
b' @0 l- q: v( Q - "args": {7 B) o3 t( E5 a# H
- "paths": []," _7 R0 N5 ~& y
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",; ~8 x; c. u2 ]3 Z
- "extensions":".*" //any file with extension4 X- M* y) {5 q8 v x! N% {
- }
" u. K/ U3 F: C* A4 o0 ^ - },
& e/ ^5 V1 N+ V7 ` G( u0 W
# p* S, t$ U, P2 f) y) i- {"caption":"-"},
+ O" H( [8 B L8 }1 {4 }3 Q% c - {9 i# T1 w7 j* R+ s( C4 i. K$ j
- "caption": "chrome",. y) B( M! F+ H3 M, O' n5 W
- "id": "side-bar-files-open-with-chrome", B6 J( a3 n; {- ^; H* p0 r
& o1 j2 N3 `- P+ f- "command": "side_bar_files_open_with",
* O1 m8 A) o0 P9 V: c/ S - "args": {# k4 l, R7 l& E. ]
- "paths": [],
$ B4 c1 J' R8 H6 v: ? - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
6 c* ?4 |$ }. L' x6 s$ M4 [ - "extensions":".*" //any file with extension
& d( W5 q! O8 \) [% t - }
; X2 `2 w9 p% w, s - }+ N$ c' V# d3 Q5 u! r/ h
- ]* o0 O4 c# s, `0 S# N
- }
$ ?+ ?0 a v- W3 @! s - ]
复制代码 配置在IE中打开Key bindings -> User/ t# |# n) w& K, \% R
- [3 {5 e) V; T ~ H5 L) [
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
' a" n( {" x O4 w$ A; y, V f' b - { "keys": ["alt+f12"], "command": "open_in_browser" }, N* p8 e! W' U. S
- { "keys": ["f12"], "command": "side_bar_files_open_with",
& F% X6 o3 v- E$ s: u* ] - "args": {8 J g, ^1 Y% v$ x
- "paths": [],& ^; X; f2 p- Z, @) k0 h
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
7 X# H# `, I( ^3 }( J* J6 h - "extensions":".*" //any file with extension- r* g" Y) o' V1 ]7 x
- } },
; B; C. [# p) h8 D6 |+ E( \ - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",; M" X% C6 w. c, X% q$ F7 E
- "args": {
& G, |6 M" `" S7 R/ E" H - "paths": [],
4 X3 ^9 G9 i. P% D - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
9 w9 k+ v# s$ z1 z) k$ i. { - "extensions":".*" //any file with extension
8 W7 n$ G" C8 K6 l# I - } - K: f) `9 Z y4 v) {
- }
6 b5 E0 X1 M( _ Q - + e8 h! O, L* o$ P4 B5 \
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。 _5 D* H) T7 i) l7 w( N+ O
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
; m% n$ b: f/ L+ v/ _9 C( C! T
% B; k. g3 @/ t# Z Q
; q3 c, |+ r* x( |- ~ |