安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
! `& g' {& k9 V+ happlication : 路径要修改为自己默认安装的路径。- X% a9 M+ r; @: \+ x f
- [
6 h5 _+ p' u! r7 c7 V - {"id": "side-bar-files-open-with",
7 r! g! b5 Q; a4 Q' x - "children":
: j# t1 D$ H$ j5 d. d$ |' Z( i8 T - [
: l; i$ J2 ^) x' L9 l# K - //application firefox
: d& W& v, j7 N7 u1 C8 T - {
' f3 P( c" R& T - "caption": "firefox",
' s7 |# {5 L! [6 R8 A/ k - "id": "side-bar-files-open-with-firefox",
8 \+ X* O2 x" d$ h0 p0 F
- y; H# A+ s0 R, t9 j8 N7 X$ |- "command": "side_bar_files_open_with",# v6 O4 c: s$ j5 s3 G9 y
- "args": {3 S- }) P- _6 H F7 S4 |
- "paths": [],' b; V- X; p2 U) x. y
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
* T. E: }! o( w3 a - "extensions":".*" //any file with extension( P) }9 B4 c5 h, A; `! z Q
- }1 v# m4 d' D+ o! \9 L; R" u
- },
( p+ J0 I! C. W0 [& ?( Z5 E
' _9 Y$ a! b. ?/ Q- R8 J. v# i; t/ N0 u- {"caption":"-"},! G6 k2 @/ Y3 o/ M0 M/ @
- {% }5 F8 k+ c9 G2 `" C
- "caption": "chrome",
" l& ^5 c( v( p2 ]9 }, F/ U - "id": "side-bar-files-open-with-chrome",4 o9 M" M, W) l5 C
- 6 S, Q& D3 X9 v K, {4 d7 }
- "command": "side_bar_files_open_with",9 b7 e; d0 ]+ O% D J
- "args": {1 X' _) ~# {* s$ G. M8 a8 K- F
- "paths": [],
; s! f, v& }8 Z) D8 y8 ~& A5 | - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
3 r) ^8 a5 m8 W6 _- F2 s8 o - "extensions":".*" //any file with extension7 B( [- N9 Q0 ], C2 D* P/ J5 z
- }- _9 o2 A7 s9 [5 h1 y6 V
- }/ `+ F4 y, E) c* h% S. c
- ]
0 ~7 ?! f, v& Q$ @. x: ~. U - }
1 K7 q% N& Q8 K: x4 s8 t - ]
复制代码 配置在IE中打开Key bindings -> User& n+ Y; `$ @- B1 a1 A% ?4 J! @" Q
- [0 ? L* x7 N! H$ ]7 |- W
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
1 X o: L/ d6 p! _; E8 X+ z0 d! p - { "keys": ["alt+f12"], "command": "open_in_browser" },
$ a! K) _) X* _ A# p6 q - { "keys": ["f12"], "command": "side_bar_files_open_with",
; |- ?9 E4 K! ~ - "args": {
+ ?2 T& J, ~( x E5 k/ F0 ]6 D$ D& O9 q - "paths": [],
, ^/ K4 R: s) C A. W5 t - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",) D2 ~8 g4 I+ _8 H( T0 e% P
- "extensions":".*" //any file with extension$ }+ g# W: ^0 X* Q& s8 X B/ \
- } },
, [6 g. o8 x. j8 W) E; l4 H) R! M - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
4 W- J( _4 q4 ]) g! g9 F - "args": {- \: G. ~" J1 @: B& @% S$ u
- "paths": [],' i& g+ T4 [4 X
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
* O% p3 H6 H: A# I3 ^- g - "extensions":".*" //any file with extension# ~# v9 L( i/ e0 Y' z/ j7 l6 Y
- } # i) x* U( H5 w- W5 A, I2 H4 e% ~
- }
: D* L9 M) H! Q - $ t( j3 f9 Z: q" O8 @ Z3 s9 m ^' M
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。8 q+ G# Q% J6 {9 j" {# E
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
" c4 A k. w1 @8 \9 b, ]' s! ]$ T9 W+ T! z$ `; s4 ~
& E) F6 I5 A3 [: M& I4 m
|