安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
, z3 x% g6 ~" p/ b9 `, O, bapplication : 路径要修改为自己默认安装的路径。- y4 [2 t1 E3 d- `! q
- [, C4 L8 z# x; X- j: F
- {"id": "side-bar-files-open-with",
3 b7 F; z9 V# \+ a - "children":( u) y2 h9 d( C. s, e
- [
# Y" I. s9 K: t' b3 R6 M5 w - //application firefox# x* n$ y, c- {7 E* r
- {. i6 Q4 F8 r; M+ P4 d
- "caption": "firefox",
1 R* a6 b9 c$ z0 s: A - "id": "side-bar-files-open-with-firefox",
T. N1 h9 x& d
3 q. M0 V2 q# K$ _$ j, c8 H- "command": "side_bar_files_open_with",! {' m3 w4 e+ P5 o6 I, M R& D p
- "args": {5 E8 Y( w3 _& {1 ~+ B# O- g
- "paths": [],& h* ^- X& u+ M- T3 V2 h; \
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",. e. v2 L4 s2 ^: J' N7 c2 ?- _
- "extensions":".*" //any file with extension
* Q! X% j; z8 a& t. ` - }
+ X; o$ L7 v, F; t( Q4 g - },: y E; G x- D9 c \: d
: x) d' ~& j/ C% m# Y" \6 K& i- {"caption":"-"},
" L3 u8 R6 [- Z- n- o - {
: V1 B3 d$ i0 s4 ^ - "caption": "chrome",( v" i4 Z7 N4 E# X8 n
- "id": "side-bar-files-open-with-chrome",
9 w. M6 j7 P5 x7 q2 Y* I - 1 ~( a4 x) ]3 G8 ?; @7 J
- "command": "side_bar_files_open_with",$ E* H: f; {9 `! ?
- "args": {
. e7 g7 g( K( _- Q- T5 W - "paths": [],, `! q- W' p5 E+ l
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
! @/ ?6 Z" K$ Q+ {$ R7 Y0 F* h - "extensions":".*" //any file with extension% r( P4 `# ]. ~% K* q$ a U- e7 O" @
- }% [; K1 D; K3 B+ f) [
- }
. j" Q1 Y8 A& |' o: Z, l' k" j - ]
3 f/ c2 e) ?& ~, s: [/ B - }8 x* l# c- y3 r3 ^% A9 p
- ]
复制代码 配置在IE中打开Key bindings -> User
( i% k" U3 ]# z9 j5 y4 ^. P" V0 n- [
1 Y# h+ G3 ^! p0 q1 }% a - { "keys": ["ctrl+shift+c"], "command": "copy_path" },, X3 C; E) O9 v+ S: f. E' \0 q. Q
- { "keys": ["alt+f12"], "command": "open_in_browser" },
2 {. B$ X/ [, e) f4 x - { "keys": ["f12"], "command": "side_bar_files_open_with",/ w# \& I7 ^5 @) a- x7 J
- "args": {1 _1 @8 m3 n- M* i1 c+ ]! V, ?
- "paths": [],
1 ~' c, L( ^6 C! |1 O - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",0 k K7 @1 S% @. k% _% |
- "extensions":".*" //any file with extension! K' f7 `& [% f1 g7 W
- } },$ A) T" ~# O _) x4 K% @
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
1 E6 O% n' Q4 K' J0 h3 w - "args": {- }0 m8 s' q1 z. K! J/ ]
- "paths": [],
0 z$ ~& r: g+ p: X+ G( Y - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",4 h# S. G$ Q) E: n* b
- "extensions":".*" //any file with extension# a' G: r [# N( j( ?# ~% [
- } x1 G4 s9 O# B; o) [
- }
, R/ X; y2 j6 E# {. r L) s - ; |& _4 S& @0 Q K& k4 ^. J
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。# K$ {; Q: Q7 a) ?% p5 v
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
' l# V# [( F7 V
: R9 C% z) C5 }. w- j
- H8 \; X, M6 X* z- f( h |