安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ' \' t) K+ M* X" @
application : 路径要修改为自己默认安装的路径。
& C$ J0 W5 l6 @: Y, ?- [
7 H( |0 V9 h6 x1 d3 J7 @2 A - {"id": "side-bar-files-open-with",$ ~% h& c9 _6 N5 J5 {
- "children":) R( S' U+ Y D& }
- [; m- E8 P! L1 \ }" H5 q- T" B
- //application firefox
. K d! P3 Y8 q7 Z. `3 G# j - {
% x: B* {) S( E4 }9 E- @ - "caption": "firefox",# K1 W( d ], r2 f) ?
- "id": "side-bar-files-open-with-firefox",* g1 y6 ^! [/ I; @+ |; v6 i" i2 X
4 b$ f7 H4 s* e4 j& G& Z0 ~- "command": "side_bar_files_open_with",2 z' @+ g! H. q( \( \
- "args": {
: ^- g a8 ], {0 A - "paths": [],
+ O6 R5 r; ` H - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
7 L n( N# Z# h% j' \/ K8 s - "extensions":".*" //any file with extension3 w, x% |2 \9 W+ E3 A
- }
- S) s% S% Y( C# s+ Q- R - },' h. F5 v/ g: T. e& K9 h
- . j' E. h* n. F2 H4 w, c
- {"caption":"-"},
$ Z4 e, n) P$ p& }- {) a5 v; h - {
3 T g8 q5 H; Z$ c, t2 O - "caption": "chrome",/ K2 z( T: E. Y* G" _& a. j
- "id": "side-bar-files-open-with-chrome",
\$ K/ ?( ?, s7 U \ - " j7 w0 d5 a* {: Q
- "command": "side_bar_files_open_with",/ ^ [0 ]/ ]- V" [9 U
- "args": {
+ O) ?1 z4 y* p. o9 o+ T; q - "paths": [],
( P$ D1 I5 V3 h7 F7 M - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
) W& ]% n$ k0 A. ?3 {& | - "extensions":".*" //any file with extension
+ F o8 z. n5 e- H$ H, T8 C - }+ b/ x* L$ X: b5 N3 }% u
- }
% \* u0 W. \3 E4 n' W - ]
) `% E, L* b' W: M2 O - }& Z0 N- O8 H" H6 O% u
- ]
复制代码 配置在IE中打开Key bindings -> User
: H" E4 R' e8 h% _- [
) Q4 c) }/ I! o b' H - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
8 b! h% R J# g1 C; R3 W2 w - { "keys": ["alt+f12"], "command": "open_in_browser" },1 |% _$ D; |: x- Y" |
- { "keys": ["f12"], "command": "side_bar_files_open_with",
% t7 q5 q! V6 X( w - "args": {
1 q9 p# T8 Y% r - "paths": [],
S/ o9 S# X: Z/ j' u) _ - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
! ?9 D$ p% M( R1 u3 L6 @ - "extensions":".*" //any file with extension" e' r4 C' m! P7 d
- } },
9 J5 Q! b9 B- a S, o - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",% W/ m7 D4 ?# g* x! x& M" [ W
- "args": {
' F, J5 M; |! P; e P) l5 ~$ ^: i - "paths": [],
# ^- g9 ?# y7 r7 [ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",( c% ?, J0 A ~/ Z1 ~4 T
- "extensions":".*" //any file with extension
?9 r- m; F; V1 P } - }
7 }7 N: d- [9 f1 | - }
' R: P' B& c- E1 ~8 i8 r5 G, { - 5 K0 C3 _ m/ [2 x9 m9 t
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。5 N' c2 \$ v: U. e
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 9 e9 ?- \+ O5 @) c! i4 n
8 g7 X+ D: @9 J* [5 I" h4 S$ D5 _$ `4 `8 o# }1 c0 h h
|