安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 / g0 h- Q' W* U7 S) [- E
application : 路径要修改为自己默认安装的路径。
- K5 R; [- J- W0 c! l7 j2 v* f- [; @) Z, _. W6 X w# H' L" _5 {3 }+ U
- {"id": "side-bar-files-open-with",
8 J- @, `. q/ n& M" y, s - "children":
% F# J* i/ F$ S - [* w, I0 Z9 M$ f+ W
- //application firefox6 z* b2 V& ~ {! ^, P
- {+ s9 h I/ [/ |
- "caption": "firefox",- i1 |! z; _# m/ Y3 C7 o
- "id": "side-bar-files-open-with-firefox",% w9 l2 x1 ^0 |- y' ~
! {+ b% L+ M4 O) O- "command": "side_bar_files_open_with",
# ]; ~" @! C) G7 ]" ^ - "args": {
4 `. q; y1 u4 \* {7 j9 v - "paths": [],
o$ j" Z9 t! j. k' t9 t. d- m8 r - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",( W9 o! P: h( {8 B
- "extensions":".*" //any file with extension4 T+ j& h. f& d+ z( G0 q
- }
4 r; p3 _. i; Q6 l - },+ P: p" b- A. S# c; H, A
* M ^- e1 ?; N, ~2 [/ [5 @0 c- {"caption":"-"},2 ~# Q( s% v( A' e8 k9 }' `9 F
- {$ t k/ N7 p5 _; _
- "caption": "chrome",0 A; d2 G1 w- q: H
- "id": "side-bar-files-open-with-chrome",4 l3 F: h: K T* b5 K L9 S
- 6 c3 G, p4 W% O$ H s+ L
- "command": "side_bar_files_open_with",0 V! ^: O, h6 N# Y
- "args": {
. n8 [8 ?$ E6 E8 h& v - "paths": [],
5 y: x1 U$ U( A, Q' ], F - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",3 A) _3 \ r' Q5 n5 \2 w8 L. @- I
- "extensions":".*" //any file with extension
8 n9 V2 Q0 f+ |* S* q( e- ` - }& j! }. J, j1 ]$ O: M5 ~
- }
4 J: U ^0 e# T3 | - ]
1 L; j: a: f' S9 f/ E. h$ L% |2 \ - }
$ ?" U% t( N% v3 E# w3 { - ]
复制代码 配置在IE中打开Key bindings -> User
! e% M9 L; E. F- [
0 p% w% J+ } p- ~* K; ]8 b - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
/ I1 y/ \% H9 H7 t - { "keys": ["alt+f12"], "command": "open_in_browser" },
8 G+ f% v- [1 d* h - { "keys": ["f12"], "command": "side_bar_files_open_with",
( l' y# p4 J/ s - "args": {9 A; u! e5 Y1 O. S. m% X$ ~* n
- "paths": [],1 c7 g4 |9 W8 C2 h2 m+ Y3 E F
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
" ^5 @6 @$ |/ I8 n+ m. }# Z8 b - "extensions":".*" //any file with extension
7 O Q% @% b# N; }+ ?: W - } },
+ c8 w; H% ? o2 Q6 h - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
$ P9 Z w: M8 _/ k) W2 ] - "args": {
* {6 s6 r w! A - "paths": [],) }. y/ _) @+ `2 Y4 }7 m; {
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",6 Y. `8 b) j$ Z p w, w7 [( h* X
- "extensions":".*" //any file with extension5 N# ~8 p0 x- O) J! ^" }2 c! ^
- }
8 c* \$ y/ Z4 r. b' T+ k - } & R) a& H* S) P: N/ p. P& r+ \
-
/ O/ z: w- h& Q x- x - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。# [, F6 t4 O2 [: Q
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 9 H. v) V3 U" W Y
) b w. v4 P6 [7 R3 ~/ ^
T1 ^ P& ]4 F; X! c
|