安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ! N+ ^6 l, c+ D" n7 ?/ F9 w! n
application : 路径要修改为自己默认安装的路径。% A& ?3 |) Q( a$ x) O1 H9 s( s
- [
* e; Z0 l8 A( w - {"id": "side-bar-files-open-with"," A" ?* J9 d1 G+ `1 |/ |
- "children":
' |5 I/ h8 z2 T7 r4 e8 z - [( e. |* g% G+ j# G$ L; N5 d, @3 ?
- //application firefox
3 f$ y* r: c# o9 Y. O3 | - {0 \ S, R$ y9 I+ h, b, s, c$ e7 j
- "caption": "firefox",) B& @/ |% S& Z
- "id": "side-bar-files-open-with-firefox",
5 `" s2 I y: C6 R: }1 o$ \ - % \. q& r! n1 S* H z( r" M
- "command": "side_bar_files_open_with",9 K0 s4 m* c. t( v z
- "args": {
8 @ U/ Z5 |6 A5 i9 D* u% ? - "paths": [],
- z* N0 ~) y& m( Q& @ - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
0 q) E3 D' k% P- L1 K: v) q - "extensions":".*" //any file with extension1 ?! B% }+ L5 r3 `3 I N
- }
0 Y4 |' x& j! H x - },5 r6 y3 c9 r2 K/ O1 T5 D
2 \; V/ Q n! p% S |% g; n- {"caption":"-"},
7 y% j+ ^" L) n. p Z0 a7 F - {
. D) k) V/ t5 W% m6 t( }, D - "caption": "chrome",
# s) P2 @; L% n7 X8 c2 L; C - "id": "side-bar-files-open-with-chrome",3 u# d! I$ E5 N, f+ j6 M( |* y( R
- 0 K, s9 o7 @% o6 D' M
- "command": "side_bar_files_open_with",
+ Q8 g9 ]( X! I" d2 [3 [( |" w2 U - "args": {
" ^2 o6 I4 h5 Q" V5 y3 n* M - "paths": [],) d% s7 S! v6 O/ t" M' W! n' N
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
1 S2 u0 F- } H- M) J - "extensions":".*" //any file with extension
; b$ D" o X+ X6 m; v. v# j - }1 B A d, f" l9 n
- }" \) g a; t5 @. y2 u @ ^
- ]
& D/ ^" W( Z( ?: I5 z1 p - }9 P& E6 X, {2 q
- ]
复制代码 配置在IE中打开Key bindings -> User
# J' _% _( k- i' M- [' @2 ^7 ~8 Y* z# F2 C, Z+ \2 O
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },; C* H7 {% f* m X, U2 _
- { "keys": ["alt+f12"], "command": "open_in_browser" },
# [) S& {8 N* h - { "keys": ["f12"], "command": "side_bar_files_open_with",
* A' D" o0 N0 l8 U - "args": {+ S9 Y+ a0 ]8 W" ]' J' K; x( l
- "paths": [],+ Y& `" b% B0 I
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",$ C# G1 v8 M1 f! |2 {! `, h
- "extensions":".*" //any file with extension
1 a Y( k$ a( _6 A# G - } },1 B* u" Y5 S& f* \7 U. L x& \5 e
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",! C8 q- }. a! [) n
- "args": {6 Z, R0 H. @) y- P2 v
- "paths": [],' d- U. z! U, W+ R2 C
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe", i, V9 F, Q. T7 m# S9 K5 F, y: G
- "extensions":".*" //any file with extension( \ ]" Y8 m# m# v7 T; ?
- }
& v& [ X4 K9 _& M& I - } " G$ D) z) f9 Q6 }% b' }
- ( l( R" t6 W7 ]) Y( n. u
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
" R0 H5 C" N+ b9 e+ {: V 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
8 l( M2 m- W! V# n* z3 K
8 y6 D& I7 ?3 O) ?
: T- S+ O6 N9 c7 |/ X2 H |