安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 4 d8 t: y. B( r' }" ~$ q6 k
application : 路径要修改为自己默认安装的路径。
6 `& f" \6 _1 b3 n- \- [
& B# \3 h$ c. \ - {"id": "side-bar-files-open-with",/ g1 \+ I e- E# V( [
- "children":" |4 V" Q% @+ G4 @: e, H d
- [, M/ e1 I/ |- L( W
- //application firefox4 ~$ o* o: ^1 o# d( {2 U, ]
- {
I2 t% z" n _9 [, Z - "caption": "firefox",6 U1 l2 ^, s% e/ {9 t/ ^2 h2 P
- "id": "side-bar-files-open-with-firefox",* M$ b* @0 y* Z" ]1 o! d
$ z, U4 e, }" |7 J- Z. c9 v4 T- "command": "side_bar_files_open_with",
5 g9 i% H% J- c% _ - "args": {$ b) J+ m1 Z1 Z: [
- "paths": [],
5 q0 b% O1 J- _; P - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
) S. Z$ |3 m3 K4 } r; S7 } - "extensions":".*" //any file with extension: K% S' J( b( ]$ ]
- }
0 H# z0 j0 D3 I- `8 b& h& W - },( K( O$ R# g. l; p8 i& s6 Q0 f
! I! U$ p! v N2 F/ T$ ]; `/ Y" \- {"caption":"-"},# p# C2 R7 u U, h
- {5 O( b6 r2 i P& ]% _8 H
- "caption": "chrome",& Z# s5 o0 ]4 p) V6 b5 [8 u/ p( D
- "id": "side-bar-files-open-with-chrome",9 T2 t9 F0 K& |- m' {
) B0 ~! h& r G9 c; n0 f- "command": "side_bar_files_open_with",
# @/ H3 v/ ^! a+ I! d7 i4 J - "args": {( m8 E7 Z- x+ L# g! Z2 `
- "paths": [],
& M/ Y- Z3 Y2 a2 @. M) F9 L" @, j. |4 h - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",3 |* E2 v1 o" s" M8 ~: @
- "extensions":".*" //any file with extension; c1 L+ a/ x8 z \2 Q9 @: e8 c
- }
* i% g6 Q3 {0 |, m - }5 ~, b( \7 o% x. k, [1 n4 \& _
- ]+ L0 m% B# @) L8 y; T) D& _
- }
8 `% {; p8 `8 a4 C: g - ]
复制代码 配置在IE中打开Key bindings -> User
+ L7 h5 s. ^- u$ X8 {4 m$ d6 Y- [/ L% D! q" ^" \3 p& ~( V- \
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },& w. ?# ?* G1 D- J/ b n
- { "keys": ["alt+f12"], "command": "open_in_browser" },' j# t+ @3 _6 V4 z) t- \* W
- { "keys": ["f12"], "command": "side_bar_files_open_with",4 o9 P( Y9 n& p
- "args": {
4 ?/ [' X% B, m) W5 o$ ^# P% V - "paths": [],
' O5 d& s# ]; z V - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",6 l. A% l$ E5 F! }% G0 `8 a8 S
- "extensions":".*" //any file with extension. b) p- L C2 n4 l5 a) M( v% K
- } },
1 H6 F2 c) d3 o! K# P - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",- k9 N; J, M, C; A
- "args": {! t+ q. ]8 F* G E- H, G: a
- "paths": [],
* D8 g, g: [( [7 h0 j - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"," @% }: F' i5 o0 W- I% x
- "extensions":".*" //any file with extension
7 @4 a% m; e& A" w3 ^: R/ o - }
- b5 e) \/ W5 f! W - } . ]) v& ^. r# B x$ E. { x
- 0 e; L6 i4 y: u9 [, e7 R9 w ^
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
2 `1 n, O3 ~: l# d/ b. |, }* l 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
# p9 L5 K0 |3 W1 T8 S" U2 i4 I/ K" K" e0 k4 g
: g' M% d; _1 v( @9 C |