|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
1 ^7 O/ r, j" [" O. O) T$ mapplication : 路径要修改为自己默认安装的路径。; U; ~( v3 q" M+ z# a" C. E
- [" g" N# J* g* g! _- e9 g6 s A
- {"id": "side-bar-files-open-with",& Y [9 z W0 C! m0 I8 |: J" w' j5 O* |
- "children":
; Z# C; a/ l' M" i+ N/ s - [
/ Z: z1 D, Y$ n @) q3 U) |7 x - //application firefox. z/ ` ~+ \2 r4 b
- {* A$ ?0 }. G- Z3 r0 b7 }
- "caption": "firefox",
0 R' Q7 ~! y% C C - "id": "side-bar-files-open-with-firefox",
5 a/ a: s/ A& H% V0 x
# s( |( @3 \' o6 k N- "command": "side_bar_files_open_with",- s0 y9 d4 {( t3 P
- "args": {" a6 v7 f! w/ K! v+ c, t
- "paths": [],
4 L6 }! _9 o: g( z/ G) H - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",6 D0 d4 `4 y8 X4 {$ R3 s
- "extensions":".*" //any file with extension0 T3 u* S; U* C) U1 }' d) [
- }
2 j# w& W& r5 E" Z- E' E& e c - },- z+ q+ P( m! y8 h0 \1 [
- , @" z/ b+ `& Z
- {"caption":"-"},
. g: t% I: Z" U0 q1 E F) u! u C1 ~ - {
$ z; s2 a. q- m" y3 a - "caption": "chrome",, ]1 j3 ^# b$ s) Z0 t% S: \8 [/ r; c
- "id": "side-bar-files-open-with-chrome",
! o) d; }/ e% O& U0 b5 @ - + D8 ~7 C6 C2 l: ~ L$ E
- "command": "side_bar_files_open_with",- P3 _. l# T1 ^. M0 D
- "args": {
1 t+ |1 M. [; l - "paths": [],* E$ m' U! V' W( [
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",# J/ i, t0 w3 s. g; o3 u0 J$ m
- "extensions":".*" //any file with extension4 V( \1 w+ ] |5 y
- }9 y) G/ ~8 Y k! {8 b$ V
- }
4 U c7 o" _# u# o. } - ]3 A! d9 w! m& U& G5 L) R n
- }
+ _" J" X; \4 v/ F: ~: D - ]
复制代码 配置在IE中打开Key bindings -> User; q( D. q! D" s. q
- [+ v: I. K* `5 A0 b6 B
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
/ j$ ]3 O; G$ f3 k& @( V% ? - { "keys": ["alt+f12"], "command": "open_in_browser" },
3 f3 w9 X0 T ]" J. f - { "keys": ["f12"], "command": "side_bar_files_open_with",
9 X" I h5 z* ?8 T+ i: F - "args": {
& H9 N, W- U) h# h0 q9 v3 h - "paths": [],
- m* H4 U. k$ P - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",8 t. S- M' u3 }% n
- "extensions":".*" //any file with extension
0 Q. Y/ D! H1 s - } },& U4 ^" C2 K5 p" n" U
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
$ T* e: F r. i+ T) e3 m" M - "args": {5 |/ Z2 G5 P9 W6 v
- "paths": [],5 I* k5 r4 ]8 O. Z$ \8 h
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
) e6 l: |( f' s - "extensions":".*" //any file with extension6 r7 `; [9 G, _1 A' q) i
- }
" C$ V7 E# H# G' P5 k - }
, P$ E8 o0 W' z: w: D -
+ _+ h7 }: U+ ?/ W% g5 B: ^5 P8 a - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
6 N+ X% M8 r0 v. @: @9 L9 ?1 {0 x 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 3 k, s4 j3 n! w5 `8 ` u9 `
4 y% t- Y7 A$ R- Y) S w- m
( [1 L0 V: C }9 N* I
|
|