安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
& X6 g, o8 T" [8 _application : 路径要修改为自己默认安装的路径。
) C( |3 l1 { W k' i& s- [6 b) k# f% o K, Y
- {"id": "side-bar-files-open-with",
1 n3 T, b; q8 k- o - "children":
$ Q, z, s( b- e( n/ _0 Z - [
( ?% f6 K3 ~ ^* `% H- m# s) Y) M* ]$ M - //application firefox
3 ?/ ]& C. x% r. C) V7 N- l - {
H5 r# P$ N4 R) `9 {% [3 Y - "caption": "firefox",8 B* R$ G" p \) v% B7 o9 F' N; Y
- "id": "side-bar-files-open-with-firefox",
8 T% r- k; z$ Y& D9 J - ! C! u% `0 |' W& g9 ]0 R
- "command": "side_bar_files_open_with",
. B# \5 K* n9 h6 l( p - "args": {
4 I, v3 `2 V$ E9 b - "paths": [],. }, \0 g6 x/ K7 J
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe", Y/ C; P& \1 d i
- "extensions":".*" //any file with extension2 I7 m4 H9 p9 `, r" S1 L. ~! _
- }
/ ?+ U/ l( G7 A7 L! K" _ - },
1 s; V: r8 h$ Q5 D
. v, ]( `, a% G' C- {"caption":"-"}," E* s" b3 A. y1 s& G0 l
- {) D7 k1 i! u. z7 F
- "caption": "chrome",
! V# ~, ]! [% h6 x - "id": "side-bar-files-open-with-chrome",1 L9 s3 }9 z- o% E
: i5 L$ g4 p1 W" z- "command": "side_bar_files_open_with",
4 J. Y# v. }5 `5 |' V - "args": {" t e s6 p+ L; F! P
- "paths": [],
* l3 R& a- C: k7 A, y - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",! ]! ?# y, l# p; b5 N0 @
- "extensions":".*" //any file with extension
: g% ~. ]. g* f! z - }: d3 z2 ]+ C: \. n8 w- p
- }
. M8 t, G; {4 F6 E+ Y: t - ]) a L0 { u: D4 W" R. }& X
- }
! w6 n& `: J4 u+ [! B( k+ p# y - ]
复制代码 配置在IE中打开Key bindings -> User9 u5 ~- ~: p& i: v
- [/ M$ m2 d6 D( j; z- x+ j
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },3 L: ?8 [8 K- Y' O9 r
- { "keys": ["alt+f12"], "command": "open_in_browser" },
) w; i8 ~/ V3 ?4 m3 H1 U - { "keys": ["f12"], "command": "side_bar_files_open_with",( ?. K) E1 Y" i
- "args": {
' P1 X) M: q+ ]; N9 W - "paths": [],3 P' M" v' {- V; a7 g, h
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
. m+ ]4 G4 P1 \ - "extensions":".*" //any file with extension L( t7 z" J! [: q- H! P0 H
- } },! K( Q) V3 Z, ^! W& e
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
* R( z& U4 @. {" q1 T; X- e& c# h/ A - "args": {! b1 W) F& e3 ?8 ]$ s# g. X% s
- "paths": [],* K! ~' @: P# z0 D+ N
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
( h2 H1 \1 K0 T4 h - "extensions":".*" //any file with extension
! U7 j: b) P" t" k* ]' X* F - } l T0 ^6 F# y+ ?
- }
8 a8 ]- c* z' d9 m ? - ; o9 a; ~: F- K' E
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。$ C9 }; u" h& O! s# @
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
* m, P! a+ n+ ^$ ^$ e% t
6 k, a2 l5 ?2 e) B% d
1 Z8 x, A1 n" j' v/ I3 o |