安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 , j1 ^) Q9 J( ]2 ?0 i
application : 路径要修改为自己默认安装的路径。
! ~5 q/ W8 p: s: c; W- [
3 o! R& o+ H5 m) g/ o! u - {"id": "side-bar-files-open-with",# |- }- a% O. |8 y5 l# W3 J. {& k
- "children":+ ?( k/ z$ n/ @7 u* z9 N9 m
- [+ j2 Z2 e J7 g! k. Z3 _
- //application firefox
* j! O3 y8 M/ {- G% L: L - {/ i0 o, N* q$ l X
- "caption": "firefox",8 z* L f5 }! w0 P: \
- "id": "side-bar-files-open-with-firefox",+ w7 R: O! i% T% }
- / L) h5 r0 ?$ A+ z7 E
- "command": "side_bar_files_open_with",6 y; }# _9 W( g0 Y* _1 D% q# d4 j
- "args": {1 `4 ^% h# ]& _: e; E% V
- "paths": [],
4 C8 ^# V; ]2 Q7 M0 i - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
2 D, B0 f$ m9 m - "extensions":".*" //any file with extension
D, `; h! ` @ - }3 d. C1 @6 U; c% z! w
- },; A% l; Z! n2 \2 s$ O
- , P3 x0 d/ z' l5 U
- {"caption":"-"},, p: O! h5 L' J+ b5 V8 A
- {
4 e4 P" g9 l, M. r+ k& a - "caption": "chrome",
9 N) S5 k! F6 b3 X2 v0 i - "id": "side-bar-files-open-with-chrome",. g! Q* P/ P2 j% |1 V4 n# M
+ b: w/ f5 u/ n: s- "command": "side_bar_files_open_with",
/ I+ o$ r8 |+ {7 w! J% p - "args": {
: A$ Z8 }2 K' Q0 _/ i - "paths": [],
/ m' S6 m' a, G4 F r* i" v1 r) G* N - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
9 z# ]' Z% b) G6 s% ? - "extensions":".*" //any file with extension
. @, a z/ T! j& T$ M+ a; G( l - }
: S: p: s% l; X9 f8 k2 p1 P - }- z1 h, M. D& T: u
- ]' K0 O- C2 _* p+ @/ S- C* @
- }
" h& R. n+ C N4 k! B9 } - ]
复制代码 配置在IE中打开Key bindings -> User
+ ~0 P: M4 o. H# D- [7 j7 R* t* M$ q% b% u0 a- ^
- { "keys": ["ctrl+shift+c"], "command": "copy_path" }, g! i' i& `3 h) B
- { "keys": ["alt+f12"], "command": "open_in_browser" },) I6 U2 _) B3 g: Z- P0 L0 ~* q
- { "keys": ["f12"], "command": "side_bar_files_open_with",
) k" l4 i) i. U$ m! q+ B1 o - "args": {# x$ r2 r! I$ w3 A6 h8 c+ A% _
- "paths": [],
1 e' D" ~: J4 c, t% y - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
) f' S' w/ s& O1 `) C* V9 N0 c - "extensions":".*" //any file with extension
/ E; R- @7 q/ K" R; z$ Y5 b - } },
' N" \- w) s) f, N* @$ s - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",! Q( f& k) m5 I3 X. e
- "args": {
* ?# u' i% m6 J+ e) B! [/ D - "paths": [],1 p0 E, h; O) r$ ^4 N; t( h. p) z
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",# v. h& @ }' W2 y* b* N+ {. T- b
- "extensions":".*" //any file with extension% m0 J5 U% I5 x2 f9 H; V
- }
0 D9 a0 D/ x1 \" J0 j - }
2 f5 q x* c! O1 }1 h8 A+ m' b - - h% T) k; a- R/ B
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。% ^5 D3 ?; V2 O9 R$ Y5 M6 e
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
( H5 G7 ^! u! F3 ` e
$ A" g7 H# D8 ]# D- b1 |
+ r8 s9 ?8 i% p5 Y1 Q8 ?6 ^ { |