安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 7 P9 S; |4 u. }. `8 t
application : 路径要修改为自己默认安装的路径。
* [) h0 a! | w; N- [0 n% Q- o- ?& U) b# }3 s F( V8 G
- {"id": "side-bar-files-open-with",/ H9 W' h5 I6 Q" E+ ?* H$ H1 \' b+ g
- "children":+ o7 G- x! y$ J: L$ S
- [
9 E$ y; S# C& P$ n) P) |7 s" \ - //application firefox
; } @: C0 o. x* E8 t' V7 G - {
* R; k8 E: E6 Y1 O" Y' Z - "caption": "firefox",
3 X! c2 m9 T L8 O* J8 K# a, r - "id": "side-bar-files-open-with-firefox",0 V: \9 q' T. `# G8 r. c5 {
+ O- k5 W* I, Z- x! h, O6 R1 u- "command": "side_bar_files_open_with",
& N- d: r7 T2 Z1 y: J& j; n* l - "args": {, o) z* ^% Y, [1 {
- "paths": [],5 g: t, x2 _! `" f W
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",2 O6 G/ q% q) D: ]; Q7 Y& [
- "extensions":".*" //any file with extension
& H3 e7 ], g, r; S J, K! j - }
7 b8 H" e9 h0 B0 \ - },
4 q4 p! r( e- O - / t, q. H/ C( Q1 T3 s0 k- M1 j
- {"caption":"-"},
- l1 G; [ h& B% k0 c - {
9 I0 m8 G. U8 R. b; }4 M6 o% _# M - "caption": "chrome",$ A! k8 @5 t1 W f* R, P/ N
- "id": "side-bar-files-open-with-chrome", J" @5 p2 q) k# g# A
3 m2 w! X$ J) I3 b" v( q z: p3 c- "command": "side_bar_files_open_with",3 X8 U7 \4 `* z* U- ` `3 z/ j
- "args": {* [3 L4 j; c* }( P& G* i. j. h
- "paths": [],
; \7 B) x/ z3 k: q - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
( B) W9 L1 _* b7 C# Y; ] - "extensions":".*" //any file with extension/ H0 a) G4 ]2 V! C. _ I
- }
: Z7 R- J& i1 w& S7 W - }# }5 s( X! c% Z
- ]
# W7 C1 ^5 |, O; L6 ?" q; L+ d - }! E1 G s, [) p7 O. k
- ]
复制代码 配置在IE中打开Key bindings -> User
2 w# X) L( F' Q; ?/ f, a, C- l- [6 x& Y$ j5 Y( i& k% I+ O
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
+ i- Y: \( }' q N - { "keys": ["alt+f12"], "command": "open_in_browser" },
7 m6 A$ {* V+ `% _ P$ d6 F - { "keys": ["f12"], "command": "side_bar_files_open_with",& K5 Y0 d5 U1 T8 v% M: Z8 Y
- "args": {
+ y8 ?1 ]0 N! f7 e, Z0 j - "paths": [],
% D9 ^* K9 C# x - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",6 P2 c2 {7 b: ]/ U
- "extensions":".*" //any file with extension+ c, H5 E; n+ z- I6 O
- } },3 `6 M6 ?- h' Z3 ?+ e5 w
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",0 k3 A+ l0 o& s# e' r& T1 `
- "args": { b- y# j* t3 s# `+ T
- "paths": [],
, F) m, n) ^; @3 ?5 @3 K! R% T - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",2 ?+ z1 w$ F5 G4 m9 n# G
- "extensions":".*" //any file with extension0 S! J6 e: o" D4 U
- }
7 Q ~6 s! N: v$ ]# [2 a" y9 W - } ( g7 t& N# U4 ~5 D7 K- } l' Y
-
8 z7 c1 z5 R5 i& k! u" z, I7 } - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。# u$ \* V! Q& r1 s$ b, [4 Z
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
, ~3 [$ e( ~/ I2 J, G$ M: w, r5 X/ z* y" N9 \2 z" }
( R& @4 [6 @3 S: o) w, |7 e. Y |