安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ! `1 o4 L' u& J7 I
application : 路径要修改为自己默认安装的路径。
, g, `) [* m5 S- [! o3 J' I$ V w5 c5 Q2 X9 T
- {"id": "side-bar-files-open-with",& U1 `1 Z# `# v: i$ ~) d0 V1 Z% z
- "children":" v+ f% [# I4 x3 a0 }/ Y7 h2 W' B
- [4 V: y* i( H. ?4 a/ z
- //application firefox
2 V0 D/ @& n$ K9 T - {
+ E; w: J! f. _3 D3 z3 e6 t6 Y" K - "caption": "firefox",
( N) p( E6 Z5 ^" ^! ? - "id": "side-bar-files-open-with-firefox",
- X! T1 I- }6 m9 C
$ s$ Y+ b% }3 n2 ~3 h- "command": "side_bar_files_open_with",4 i4 R' G3 m* P: Y( }
- "args": {9 E$ q+ s. N: T8 m! K A& E
- "paths": [],1 y% a5 E0 x) z! w# z( X3 u
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
2 p. f2 Y8 ], g+ ^! c+ Z5 ` - "extensions":".*" //any file with extension2 k4 [; w r$ X V! h9 R
- }
4 J: L0 l u/ I, i8 I' |9 ] - },
' G3 C* A9 P5 X
: \' l& R! S/ c8 ?: j- {"caption":"-"},
2 t" K& S4 ~+ S% h8 x - {
. p) T7 F& [: r2 y! i - "caption": "chrome",9 q: T5 ]5 w3 i, k @# p
- "id": "side-bar-files-open-with-chrome",
: N, |4 a6 C7 |. U1 {5 W1 b- w
# P: r; j, f4 ?6 K0 c. `- "command": "side_bar_files_open_with",+ f( ]1 K0 f l8 |" L2 u7 ~2 x& Y8 ^
- "args": {0 E( f& ?. F5 _
- "paths": [],/ Y! N5 @, f" X j
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
X. |* Q+ d0 L# N, l - "extensions":".*" //any file with extension
$ U y# P# D) d' s# y - }* C' v4 j2 S$ z# z7 I6 e5 e
- }
8 {8 l0 v! }7 J9 ?- L4 I+ b - ]7 N, {& W7 }; O
- }5 C4 t4 {! V6 u& |7 @+ |
- ]
复制代码 配置在IE中打开Key bindings -> User, ^3 l6 Y" d) ?- g
- [
. `' u% K3 ^. T* P - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
# p4 A1 W+ e Y! S - { "keys": ["alt+f12"], "command": "open_in_browser" },2 C# ?0 ]# I1 F" `) t& q
- { "keys": ["f12"], "command": "side_bar_files_open_with"," G% j+ g7 J9 V. u7 o8 a! w! R
- "args": {
& e) D! E1 `2 B% y - "paths": [],
* {$ l" _3 b( R7 `( @& v% [% @; z - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",7 |: P& a" X0 I+ I
- "extensions":".*" //any file with extension
9 N8 U; [; q4 [4 Z+ U - } },, h7 d; y& V- @% g: \% K
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
g% ?# G3 g3 X! c% ]7 n - "args": {
5 l) Q5 Z/ Z. r; } - "paths": [],
5 c8 b" |. j8 L$ X. Z4 W, m1 W - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",) Z2 K* {9 _* f4 n s# Q3 r) `
- "extensions":".*" //any file with extension
) y+ X% h# Y5 j3 E; } - }
, C* m; d" ], b( v5 B - }
8 g" I& T& E/ n' v -
' d: w0 O/ X; D9 O) R/ N8 @0 v, q - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。+ W* T* W, }. Z5 F4 ?. Q! K
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
/ t' d! C* Y$ C( S8 X, i+ T: I
8 s- F* e; `+ t+ M; n# v( K8 Z5 W, r. x" V' R) U
|