安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
# b! N* x+ F/ D3 F* Happlication : 路径要修改为自己默认安装的路径。
6 L; E0 ~7 E3 u- [- I( c( l7 c# y! w+ D1 R3 P
- {"id": "side-bar-files-open-with",
) C3 E5 o2 E0 [: y/ |' U. o2 j& n - "children":8 X# S X6 z4 X4 Z9 S: r- j
- [0 O* D' `2 y+ j; j* S z) N+ |
- //application firefox
4 ~; B1 C/ u4 x! v5 E - {) B" b* _8 m0 R$ S2 Y
- "caption": "firefox",
3 l# l3 L8 _( C2 ]8 U6 k* ~2 h) t - "id": "side-bar-files-open-with-firefox",
, [5 c0 u5 `9 W$ h - 2 C2 x. G9 X4 e% U# U' h. E
- "command": "side_bar_files_open_with",/ K' v, U$ _ j/ T8 [( ^6 y9 Z
- "args": {( i! n. N# ]8 B. `$ |: X, p; _3 q
- "paths": [],! p( f; a9 [. q- w) c
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
1 ~5 {) |) t' C - "extensions":".*" //any file with extension
+ Q4 ?! H6 \; Q8 J - }
4 a6 A, w3 `+ O( c5 Z/ E3 W- J - },
+ k1 G6 f( A* b0 H - " B+ p$ R3 ~7 [1 [+ l/ }
- {"caption":"-"},
( Q; H* A" Q' `# F! q - {) a( \% F- g7 o7 r! k5 b
- "caption": "chrome",
/ ]% U$ X: O+ [ Y( `/ X" G! m5 K - "id": "side-bar-files-open-with-chrome",
: _9 }9 n' U/ b- U$ u - . }( \* p L7 {) n& H6 X
- "command": "side_bar_files_open_with",
( h: A, f5 s7 Q& \8 [ - "args": {% b1 d0 C- n2 J7 b
- "paths": [],
0 s& [9 U8 C! k. F I% Z2 | g - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
& P; ~+ o& G9 x4 V' S3 c2 I" [) Q - "extensions":".*" //any file with extension
% s4 m- C" h% \, O d; ~7 _% R! h - }
4 }6 |9 K7 L% O- b$ x - }* k. h" ?3 ^6 z7 P# W, J0 [- r
- ]. \7 O# Y3 v k/ u, [2 Q' B9 ^- r
- }
8 k% _' s6 F( g% z; J% Z - ]
复制代码 配置在IE中打开Key bindings -> User
( \! E& @4 Q, ]4 o0 _ Y5 ^4 X- [6 O8 s( M! X% h) p
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },* B& C; E9 S( X; W7 b# g9 U4 X( k. s
- { "keys": ["alt+f12"], "command": "open_in_browser" },
* t* B, Q& j; F/ ] - { "keys": ["f12"], "command": "side_bar_files_open_with",
5 O3 _# N8 }2 T% k4 D; o - "args": {
6 Y& o0 v% @: o- S n% N: s - "paths": [],
( y+ G6 {, I0 ? - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",8 i+ K g2 j* b1 U
- "extensions":".*" //any file with extension
' t% h: ~$ T' u5 K; f% u+ D" n - } },
- N# j" ]1 I' o% a3 X' k' C - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
, E' `9 Z" V, l9 ~3 T0 v - "args": {
: C3 q, |8 \' q/ H7 D - "paths": [],
% |" _' B! S# G; c! I1 [ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",7 @& R& p2 [; d% V& a0 @+ i
- "extensions":".*" //any file with extension$ C$ j+ U$ C/ q. Z
- } & U0 Y/ }0 w5 G# @0 G3 Y8 }0 n, B Y
- } + V+ \! h, Z$ w8 g, C9 m
- 6 C$ _' @, T8 ~9 Q, q- s5 W
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
" { i" O; H5 E$ g, D; v n! ^8 _$ b' y 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
/ I0 J! |2 }; S' J/ x' B7 R4 o) r+ s5 y- y) \" U
2 N, _* Q+ E) k/ i4 s: M1 H |