安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 - P0 a, t- c& ?9 L* W3 z$ D
application : 路径要修改为自己默认安装的路径。
* ]8 z' C( r/ M- J7 w# ?! P) S$ F- [
# y; T3 Y p8 ]. H' v0 X2 q! w - {"id": "side-bar-files-open-with",0 S* ]4 s. _& Q
- "children":
( l3 |+ S& ]8 f: ]; j$ N3 E - [3 u$ |; p& n& A2 g( L' v
- //application firefox8 L* |. h- D; O- Y
- {
* b* D1 a# R/ Y0 o# i - "caption": "firefox",
$ F/ z w# `% N - "id": "side-bar-files-open-with-firefox",
! f; [/ _3 q" F - - }& o* b+ C. h
- "command": "side_bar_files_open_with",
* B6 \) ?8 {* l) G1 s2 I - "args": {
& u& K8 s5 V. k9 d7 `7 r - "paths": [],
9 S' F' P8 T2 k6 D& k' {0 @ - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",, a/ f: Q6 i5 M; Q
- "extensions":".*" //any file with extension
$ t8 `/ D, y' s: C - }5 C3 a2 |0 Z& K. j# ?" ]% C6 Z
- },
. _5 W4 s- T( `3 F0 X( l
, H6 r5 u5 m; X! ]* J5 W; |! s- {"caption":"-"},
* A8 ~* }6 g* n' O/ K" Q - {7 W, d' C& [6 `; t4 b, h! ]
- "caption": "chrome", t% x, {& W% k! P9 D
- "id": "side-bar-files-open-with-chrome",: }2 b& ^ y: a( R3 F( |
4 H$ k2 v1 m+ ~' ]1 j9 m: \, t- "command": "side_bar_files_open_with",
+ I# {- N# x# A4 y - "args": {
4 { V. Z. }4 i" f9 ?9 r/ q - "paths": [],$ a: k; s7 A2 A5 v: `6 q0 [( q9 P; L
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",% h( _; D" f$ v
- "extensions":".*" //any file with extension7 V+ E$ i: t% D, b/ A$ B- F
- }
* c$ z& W; |( D; _ - }6 ^5 ~0 F3 D1 k) f% ?
- ]" o" t- o e# u( r/ `+ v( G
- }. l+ Y% b$ v6 U' T) x
- ]
复制代码 配置在IE中打开Key bindings -> User* Z: K/ e" h- G& X1 F( n6 h' C4 J
- [
; D( y, P+ V. @9 Y" v2 F - { "keys": ["ctrl+shift+c"], "command": "copy_path" },7 o6 e6 I6 [" X- ]& C( s# V
- { "keys": ["alt+f12"], "command": "open_in_browser" },
* M. x1 T9 _: F5 M - { "keys": ["f12"], "command": "side_bar_files_open_with",
4 r5 P, |: o. W; G8 ^) p5 F - "args": {4 d: W; N& B! K7 V
- "paths": [],
) ]' H6 v, ?: `. h6 u; c- i - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
+ f7 a8 c: V5 ]* }! V - "extensions":".*" //any file with extension
3 C# b9 \4 L; D7 U$ V: P: p - } },
* l6 }5 ]# s/ N; Y, W5 n+ E) W5 [ - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",; {( y1 ?0 N `5 f9 u' X- ^ O! W
- "args": {
) ^2 T) X' b) m4 v0 R6 G: n - "paths": [],2 F7 [& W! H* }2 |
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
8 c' d- X; S. }# ?9 \1 \( X - "extensions":".*" //any file with extension2 h! k3 f3 l' e9 T$ }
- }
3 R4 s4 p n* {9 x9 |5 ~ - } ; w' ^* X& C- ^8 O* z4 M0 H
-
2 |/ i$ K/ b) f: Y+ \" W* }# b. D& h - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
/ `% J( \- I( v/ _% k, c 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 + ^* y. Y2 P0 r/ [
$ n8 m* U, Z2 I0 c' U
, C' G' q9 a& f" U7 Z& N" D# F |