安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 % U0 n G) _) S8 U8 [+ b7 O
application : 路径要修改为自己默认安装的路径。# V9 o5 F2 _! g+ K
- [
7 t* _9 H" h& A- E3 z: V I5 G - {"id": "side-bar-files-open-with",
0 k0 E5 S# x& \: d - "children":8 G5 G1 w5 p1 L9 x# t
- [1 w+ @& ]3 d3 h0 w5 N# x: H
- //application firefox7 F/ j8 D( _; j6 [
- {6 v. R% N% j# l" y& w
- "caption": "firefox",/ ? k. `* }) R/ l' `
- "id": "side-bar-files-open-with-firefox",0 ?; x$ e$ d6 t5 g" C- y
- W8 J; n4 y3 Y, K! D2 s- "command": "side_bar_files_open_with",# y7 l1 G/ X6 a( X$ g7 V
- "args": {4 S. n3 v% f( n6 n9 t) o6 l3 }
- "paths": [],
$ s) T' s& E5 c2 \: N, ?3 T - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",% n* u% ~4 k, `+ o. n; C5 u
- "extensions":".*" //any file with extension
( h$ |7 M& y/ @, F - }
$ L; _/ n, S; P G2 Q6 m/ G - },+ }7 i1 n4 m1 S+ }1 X
- ! J; l- P% ?: ?) t
- {"caption":"-"},- a/ Y7 A$ {% ]* l. y
- {
2 l8 J3 _6 c) N# |3 P* Z - "caption": "chrome",# K- g, b2 c- }$ N
- "id": "side-bar-files-open-with-chrome",2 O }/ a2 l' x4 b
3 R& f. G3 |6 X- "command": "side_bar_files_open_with",7 K7 E3 y: E$ Y( s
- "args": {- }: P9 c, h" k- H( t
- "paths": [],
3 Y" N) N2 \3 p! E$ I2 G2 [ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",, o5 X& U1 a) {8 W2 d( \' e
- "extensions":".*" //any file with extension
! ^) |1 L: N: r - }2 i: m) T3 m! @
- }
- b2 `5 {% G% W( P - ]% A/ L. G1 J2 E5 |1 r) P, g! c
- }% O8 J& _; `8 e
- ]
复制代码 配置在IE中打开Key bindings -> User9 i1 \2 w6 k9 t, m' Q/ Q
- [' v/ X* F4 A) S, G) N3 h8 \$ v
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
2 Y* W W& a, p6 i* y- Y4 a - { "keys": ["alt+f12"], "command": "open_in_browser" },
( |& {* d2 x1 T& E - { "keys": ["f12"], "command": "side_bar_files_open_with",& s) e4 W8 [/ L! X- x
- "args": {
2 }0 K$ I) Y* _ - "paths": [],
6 S% b. k, c0 V) n* `1 g; C - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
) A( r; R8 L- ]: q$ ^1 u& I - "extensions":".*" //any file with extension" S4 V( P7 k8 ]0 F& k
- } },
. t2 w6 ^8 _' H, ^. k: T/ O - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",& T0 ~6 F2 R6 d3 s5 s
- "args": {. V, D$ g1 X2 h
- "paths": [],
' k- ^% d7 |8 Z0 f - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
! H4 i! t/ _' h/ S+ S1 K8 i - "extensions":".*" //any file with extension- [: p/ N9 k; M) W
- }
/ Z. X) I, Q" c4 V' q - } ' P8 @# O0 t: c$ Z/ j
- 9 n* @. {! D+ |9 g9 q) u
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
# f1 ?: @: o0 Q& P 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
2 k& z" [/ r' M) }
( [ t1 x8 {* { E# P
* M* X" m! u( s9 O7 w2 J* _/ u |