安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 4 y$ m2 ]; S8 L5 r! ^0 Z2 A+ t
application : 路径要修改为自己默认安装的路径。1 p$ A& U$ Q7 ]8 V$ d9 ^8 ~
- [6 }3 O2 i4 x" } X
- {"id": "side-bar-files-open-with",* O- C9 Y( S# v- x3 V/ U3 x
- "children":2 d3 `. ~3 I& O0 c
- [. ~% D2 L8 C( b1 }/ Z
- //application firefox1 \$ c2 k, w3 `6 t* k) ^
- {. m0 m4 M" [5 j- D: {5 ?" \7 u. k
- "caption": "firefox",
0 P+ k) K% p @- J0 d - "id": "side-bar-files-open-with-firefox",$ i5 \6 O5 Y) @9 @4 U* F
- 7 Q% N# T1 w# I7 n( t) `, o; y
- "command": "side_bar_files_open_with",
) O% _- y9 ?' Z9 g+ D! W2 K - "args": {1 C' z( l4 f! \ O9 ?
- "paths": [],
' U% L' H- E) c S% h* y - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",2 r, {7 `& k, ~3 r/ X/ x. @
- "extensions":".*" //any file with extension
) E) {0 G* B; @) F - }& `- ?9 t& o9 s* ~/ q, k8 h
- },
* N+ v( @2 A4 h! Q
4 V K. ?5 L$ f& D/ _- {"caption":"-"},
( J, \; h! Y+ l4 g3 o- M1 O - {/ F$ i8 ], E2 M7 a/ _
- "caption": "chrome",1 r- T, K- t0 e3 ~! t' F
- "id": "side-bar-files-open-with-chrome",- S' {* }3 d# ~
1 Z, |& d* p7 e% K; E- "command": "side_bar_files_open_with",2 v# N' a0 b- ]4 ^% c
- "args": {
2 E# E7 M. L* N3 ^* X6 ~; f- H9 z9 h- ] - "paths": [],% J! w+ p9 ?/ N; E
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",) v1 f' x. R# F9 S% {& d9 W; C
- "extensions":".*" //any file with extension
" y" L! r+ g+ W# \ - }% c4 J5 ~3 o* Z8 k
- }
: m% I! K3 o; q% c$ [4 b# p% y - ]7 D& w1 |4 o2 {; H" b% |
- }# n G9 ]9 ~( e8 w" f9 l* [3 r0 }: A
- ]
复制代码 配置在IE中打开Key bindings -> User w% @5 }$ `* T( f" c: x
- [
G- Q$ x0 }3 O7 x1 I - { "keys": ["ctrl+shift+c"], "command": "copy_path" },& J: k# {' }* {: }
- { "keys": ["alt+f12"], "command": "open_in_browser" },
% b0 R+ `: K0 @0 ~ F - { "keys": ["f12"], "command": "side_bar_files_open_with",7 n, v' ^% ^4 C' q' n- G4 K" `! B
- "args": {% @9 A, p: O z4 ?& f8 J
- "paths": [],' i; U7 d4 |, {& T
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",5 n$ S5 Z( x. O: b' p2 U
- "extensions":".*" //any file with extension
# t. S* M# I* W4 B5 _& W" u0 y" X - } },! `, y5 r: F5 |* B
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with"," w; p7 J0 x2 c! x7 o
- "args": {2 W' Z! R, F( F2 }. b2 L" Y
- "paths": [],
. f \% c# r0 U6 [3 @ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",% N: ^1 z6 E X& s
- "extensions":".*" //any file with extension( {0 Z/ w4 J) r9 s9 Z
- }
2 w* f4 {3 `$ K! ^( R' Q4 }1 r2 k - } 9 `5 S8 K, ?/ M0 w
- 3 N; C2 n! E; h: O
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。+ s/ l6 V/ E" y- H
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 p/ ?8 f! i7 j( A9 m; M
, h$ i& F" O6 [/ f w/ _( v7 R/ ?) G& f- k- f, x
|