|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
* Q( J- J- M8 r# `. b [: ]2 Iapplication : 路径要修改为自己默认安装的路径。
4 Q+ g6 a- T+ Q' A8 |4 c" B; K- [ u# e) N2 Y9 T; _+ Z
- {"id": "side-bar-files-open-with",. D) t5 `+ T1 w5 g q
- "children":3 c* W7 G+ K6 X* B
- [
4 c; t, z2 s( W& ]7 s7 m$ Z' | - //application firefox
0 w& M* W) p' j5 b* | - {* V6 Z! x' q8 {# |: ~+ I
- "caption": "firefox",
* Y+ Y j* L8 z7 n$ P - "id": "side-bar-files-open-with-firefox",
3 w" C$ e/ c5 R! N; n - / q5 }# D4 u8 l# e, z0 ?$ ?
- "command": "side_bar_files_open_with",+ ?' a% y- F4 k0 k6 J/ X
- "args": {
0 o( F/ [4 `$ q8 q3 c - "paths": [],
0 k& c+ E" L* h$ v+ P2 f - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
. Z7 U: ~! V0 {3 Z - "extensions":".*" //any file with extension; Z8 ]2 A4 G1 p8 K
- }. f c* Y( i0 y- a7 A7 n a
- },
( @& X# {$ i4 C; \ - $ g8 {( N C1 t2 q# }% X
- {"caption":"-"},* _# }3 M$ y6 h5 s+ j
- {4 ?8 U6 Y& R, h4 z
- "caption": "chrome"," ]6 n$ Q; ^. j& w3 m$ }
- "id": "side-bar-files-open-with-chrome",6 I6 B% M) d: ^8 i ^
- - D0 z* L1 v2 r1 M( [" y, h+ k
- "command": "side_bar_files_open_with",! L' P: \7 r% _2 {
- "args": {
% a2 i4 ^8 D1 E- E9 y* B - "paths": [],3 ~3 C$ \1 X) r& \# E/ Q/ [
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",/ d$ H8 U8 K; _; [2 S( {: o
- "extensions":".*" //any file with extension
/ T/ f* d& x2 h( u - }; k* t; ?5 @6 k2 C; K0 ^% q1 h& S
- }+ v! A) I4 C7 ]' J+ j+ c8 C7 q2 ]
- ]
- ]! J; T9 \" L2 T+ l- Q3 a) x - }
. `; l. F3 {1 D# B" V - ]
复制代码 配置在IE中打开Key bindings -> User+ D5 a$ R& Z+ ]$ Z" j+ t1 g1 V
- [# R9 e7 \$ a' c/ d
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },3 z% n/ ?& I0 W( M
- { "keys": ["alt+f12"], "command": "open_in_browser" },
( A' J. d% N) d7 c - { "keys": ["f12"], "command": "side_bar_files_open_with",
5 F, t! E: _( c9 W; Y4 k1 L$ R% X - "args": {* K& ~+ R) p' ^/ c
- "paths": [],
8 G$ o) ]3 J+ P6 W - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",0 x6 J+ I2 V5 m
- "extensions":".*" //any file with extension
2 p ]6 p) _1 g: X& _* j! Z7 @, b - } },
x0 R' H/ \8 [, `* j- r0 u9 j - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
# I$ `8 y. f5 M9 w) c* w. I Y - "args": {
( _; S3 ]% H0 C/ x& M - "paths": [],
+ v" D/ E0 `- |/ i8 n( R" L5 ] - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
) P6 C6 R H4 R! I; J) o p - "extensions":".*" //any file with extension
% w. R# B- O3 u/ G) U4 {+ l+ ? - }
" o- y5 ~- Q7 V' B - }
2 Q/ A5 V7 k# h - @4 F5 A- x4 l& d& A
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
+ ~% Q/ o7 ~6 _ v! T) \ 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 3 m5 f1 ]5 a- H: R9 l
$ |# Y" ^4 h+ J3 ~1 V8 X. C
( {" @( c: T* n' t |
|