安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 % K7 r# W$ ~3 a" A
application : 路径要修改为自己默认安装的路径。
, b8 y/ a* M* F- [8 }" R5 ^, d9 b) a2 k' x; @
- {"id": "side-bar-files-open-with",
2 l: J y5 c: H5 y! R! @' G - "children":, I' i0 T ?; l0 y
- [
* N$ b7 @$ F: V" l, q! _ - //application firefox
}6 ^0 @6 f1 P: ` - {
2 @( s O; Q( F" S0 W3 W/ W - "caption": "firefox",- |# S C/ F. R4 s. H: U
- "id": "side-bar-files-open-with-firefox",
7 }: d' }+ D% o9 k - ! s% p8 ?; Y2 x! C" e
- "command": "side_bar_files_open_with",
0 D- s0 b% T; S# y7 r - "args": {7 W ^: B5 T6 W9 x/ F# U. R) v+ o }
- "paths": [],
; X/ p6 V. q2 U9 D, O - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
+ F s& f0 n/ C5 i; M - "extensions":".*" //any file with extension' N+ U# i' i9 K( J( B0 n8 U
- }: X+ S4 V: X9 D D ~, c8 {
- },: u# |* L2 r! q* a* U2 d
% n% b$ J8 z( `- {"caption":"-"},0 N5 ]9 N) j7 R, W$ Q& q
- {
- U6 U: k4 ~8 D Z - "caption": "chrome",
" L/ V; C H3 u8 D, A$ T8 q* z - "id": "side-bar-files-open-with-chrome",
( d# @! X/ t2 h9 `1 ^8 c( I: D
5 b T3 w% r/ E9 Z- "command": "side_bar_files_open_with",
9 x9 E6 W2 O& N8 F2 O - "args": {! {. i8 x" L$ b+ s7 h/ T h
- "paths": [],& i4 t* B7 b9 [7 L
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
5 s @+ ]/ z0 d - "extensions":".*" //any file with extension8 B" a5 I! f3 [
- }
3 z0 A I+ h& O7 H* x - }0 K4 S4 v( o+ T
- ]- {; z# F* Q/ t# r j
- }
( h$ `; f) o* X2 ? - ]
复制代码 配置在IE中打开Key bindings -> User( c$ G; J4 }2 R7 W6 P* D
- [7 p; W. i+ s, l& L4 L( j
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
1 a& E6 b/ }7 _* D! L - { "keys": ["alt+f12"], "command": "open_in_browser" },! E5 c7 a# \" X. N4 R" l% v& ?
- { "keys": ["f12"], "command": "side_bar_files_open_with",
$ m4 |* E; i6 s: w - "args": {
0 W; M, \8 V6 C* m$ _# ?1 g - "paths": [],' p& }9 X3 r9 w e7 x2 {
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
7 _! O2 N6 r5 q b F% _( N9 Q$ S - "extensions":".*" //any file with extension
0 ~9 J' v! K4 |4 ]& ^- m3 U" F# t1 L3 P - } },, R: `. t4 m0 ?1 ^4 d5 t
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
6 g" @& c* F# f u* L) U- o - "args": {
0 q% |( U7 [3 o/ _0 I( s: r! D - "paths": [],
, k& |, A" A2 e# F3 ?1 u - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",+ {" Y8 R) M# u; W! t
- "extensions":".*" //any file with extension
; B. ~1 ^' o& y' W; x, a8 Y- }8 z. a - }
; @( H" n" i' \/ q x" [3 H* s - }
( d8 s# ~! N& J4 x$ o -
1 c! l3 i# _: m+ Z - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。1 Z/ r7 ^9 m" j# j5 m& w9 O
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 $ ^: x# \8 r x, `
( V* r% l+ c4 u
5 A0 I- V$ a/ X( O
|