安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
4 O2 @5 @% ]* h* X& aapplication : 路径要修改为自己默认安装的路径。) R1 K& e2 ]1 C3 I, h( ^: n9 ^ q
- [4 c5 G* o# u4 D; L* W
- {"id": "side-bar-files-open-with",! @0 |; I! ?# L% |% O- U
- "children":8 A6 @9 v# k, V' T
- [ P- ?' y6 @+ G" X4 K
- //application firefox/ w; k5 s$ m7 l; r1 K; a
- {
6 g* N2 A& u! m; i+ h7 ~/ P - "caption": "firefox",. B- O/ D) t3 ^5 E$ s5 l
- "id": "side-bar-files-open-with-firefox",$ b. |1 i# H8 N. w6 l. n' F
- 4 _* ?: S2 V' X$ y" d3 T4 _
- "command": "side_bar_files_open_with"," |# V) S6 ^' J
- "args": { N' g, }( W% z4 P k6 n
- "paths": [],2 ~3 T1 X) t3 b/ p/ J5 K; ^& U8 y
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
( P N3 H% w, Y* H' |& D @ w - "extensions":".*" //any file with extension
8 S1 L% W5 j6 N- g; h4 E - }; `3 r! Q! l) `, M
- },9 K) v# @" _! u
- . ^. X6 T9 r' r
- {"caption":"-"},
( s7 j8 [9 g# c/ p; ]) G& Z - { E& w b4 }* w) C6 O- ~9 b
- "caption": "chrome",
: L6 S, L, H; f' l/ t r# {- w, b - "id": "side-bar-files-open-with-chrome", H& O# g6 k( V) Q
- 5 p* [& Y: Y8 ]! N, q* q
- "command": "side_bar_files_open_with",
4 V$ G. _1 h0 Y) y: d" W - "args": {1 Q( E3 T/ l; b2 l& e# L
- "paths": [],
, _$ v! Z2 x1 I2 }6 c; w - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",6 r' n7 F& {7 H1 m
- "extensions":".*" //any file with extension5 _1 K* A' N( y$ h9 U4 m, O
- }
; o$ m k$ @: s6 b1 x* R: h9 @ - }. k% P d% ]# k- i$ ~
- ]
- {% D; v& @/ ^; L - }
~/ e% c0 H4 F# W9 A' d& H3 Q5 O - ]
复制代码 配置在IE中打开Key bindings -> User* S" {4 U2 V/ R( l
- [
7 a9 a* q- m: ` - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
3 K8 b5 S5 j& O - { "keys": ["alt+f12"], "command": "open_in_browser" },
7 y7 t+ h7 q; N9 o - { "keys": ["f12"], "command": "side_bar_files_open_with",
8 K3 D9 O) h) g- {& V0 j - "args": {* [% ^' L0 C7 U# h8 l1 ^/ c$ h
- "paths": [],
, T: f4 B Z$ p - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
: J1 _0 K- ?1 [8 @) V( T4 ]! | - "extensions":".*" //any file with extension! S# ~+ \% P3 j& w& f; k2 ~, H+ ~
- } },
3 I3 C2 v2 Y; r* ^! D( ] - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
9 Z+ C! C7 j2 f- a; O) j - "args": {
% B5 H& W6 i5 ~) }+ S" U - "paths": [],
& ] o7 C, S- Y: {1 v3 c - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
5 }% t5 i8 c9 a; _; d - "extensions":".*" //any file with extension9 _) l+ Y& J; ^* x/ _7 S# x
- } ( B: `4 B$ l% o2 L4 g. E+ C
- } 1 W; Y( w" `% O+ V9 A0 W
-
5 I& s Q, D. Q( I# Y - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。) F- Q* d) ~% i
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
' t K) T o9 Q2 N) T% x$ F' J) |" ?2 Z
8 p o7 u% B4 f; {+ j
|