安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ; i, _4 ~7 h# O, a$ b
application : 路径要修改为自己默认安装的路径。: [5 E2 F$ b& {0 K3 p
- [
( A2 k2 |+ f6 _" y0 O - {"id": "side-bar-files-open-with",
C+ A; S& o3 N' _$ W+ g+ ~% {0 B - "children":' q+ @* H( w: a# c
- [
* w: I H6 w1 d' x+ D - //application firefox* ~6 o. U. J$ W6 w, q
- {5 N6 y1 [3 A6 H; M7 p' k8 v
- "caption": "firefox",
2 |$ E( A& c+ i' ? K9 z2 E+ L3 I - "id": "side-bar-files-open-with-firefox", u4 I' t- g- Q) z, E
- t: g4 w \; X+ c0 t6 { a: U- "command": "side_bar_files_open_with",
1 O1 E; K% C: _* B - "args": {
) R' Z/ F# Z' R8 w/ I; g0 j7 k - "paths": [],- H2 t( P4 e; ?: w7 y. @& T
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
F3 v7 m- ^4 X( R9 I' z3 M4 N - "extensions":".*" //any file with extension- b$ _' ?& ]3 A3 t( i
- }
: \) u5 W, i, O u0 n - },
0 W- W% Z+ a' a/ D
% V: d. s" `- x9 q' }) O* ^- {"caption":"-"},
% T. x( B; U" O - {
2 V: P# N! X3 q; K9 p! f% B" g - "caption": "chrome",
: j5 _- \5 i, s - "id": "side-bar-files-open-with-chrome",# e: p3 |6 z5 ~& [0 _( F# O
- $ S; H/ i3 ^! H% R& T% E# Y
- "command": "side_bar_files_open_with",
0 J" {6 O& j: \* u7 M+ Z$ R2 O - "args": {
+ l8 L0 B9 G9 [ - "paths": [],, C. ?1 S( c' @1 ^
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",( k8 U* {" l3 p% R+ p
- "extensions":".*" //any file with extension8 @# w! Z2 k$ L% R T6 G
- }8 n0 [4 x# ~, J, h% p
- }7 i" _) v/ N6 V5 U2 l% p
- ]
+ j1 b9 _; P | d3 y5 U/ Q( Q& r - } c* k0 I5 p8 U# ^8 e
- ]
复制代码 配置在IE中打开Key bindings -> User' J7 ?% Z9 ]6 w5 C# H$ E6 I A* Q
- [& G I ^, X% c) S* A
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },! P& T- g, R+ U- ]0 w' r
- { "keys": ["alt+f12"], "command": "open_in_browser" },) u# \, ?$ P/ ?2 D1 f5 M
- { "keys": ["f12"], "command": "side_bar_files_open_with",$ i9 p" o. ?# Q% ~8 f# l
- "args": {' |, Y; L1 W& ~7 @
- "paths": [],
% q. O A6 @0 @5 R- X: F+ W - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
4 E, _$ I' l6 b0 P$ X. Q - "extensions":".*" //any file with extension
, S" f& P& n0 w p - } },+ c$ C( r) t- Z2 Y+ w$ Y8 A0 H* |
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
2 X, q, A" r- T2 d0 l - "args": {) F5 \- s1 i p8 h
- "paths": [],
0 X3 c) L7 @' z1 x - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
2 l6 \( H' u# {5 O - "extensions":".*" //any file with extension
/ J0 ^' L0 @5 b+ N5 c) j/ j - } 7 g; [9 ~# f8 W9 u6 |" n. P" e
- } ( N3 A3 u8 [& d, l( e0 R6 w
-
( P i% M3 M( G$ P0 e - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
7 K; x+ _5 T5 W8 B$ N5 V S- ]6 w, c 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 + |; ^4 D/ C5 ?' J' `
# ]8 t0 i. o# M: A4 Z
3 o7 a9 B9 ?5 l U: E8 y) F+ K |