|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ; U! ~5 m6 V, \8 G
application : 路径要修改为自己默认安装的路径。
! U/ A; t9 \) g9 s6 }6 m- [
, e4 P+ n6 B7 i4 E! V; C - {"id": "side-bar-files-open-with",/ |8 t: _% k, y- s5 q2 X0 F
- "children":
/ [# }: N. i/ y5 `4 k6 e# z - [
( G& i; v4 {3 L/ o# K3 ?* C/ I - //application firefox
- h" F+ Z% Z* d/ d# z, g/ u - {
k8 ^5 k) s0 u. H9 L. ^; u - "caption": "firefox",
, f$ `% ?" h* \. h6 `3 m - "id": "side-bar-files-open-with-firefox",: l7 c d1 j3 K
# O2 d& W) w/ s1 k- i# W0 }- "command": "side_bar_files_open_with",6 C5 T+ b; X% L
- "args": {7 v* l+ L) P$ x; [
- "paths": [],
3 `0 R7 k5 l. m$ K; ~ - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
6 k0 S, k; G# ?9 A, Z2 f. z( z - "extensions":".*" //any file with extension
5 g/ s% k- b9 C* }5 @# P - }
9 @5 R! h7 [% I7 A! A" A - }," E0 F7 F6 a* E# S
- % z! }" z/ X% J& o) ^7 o
- {"caption":"-"},
h0 [7 C+ v% n% r6 n# _ - {! W( F) ]; v( h; ~
- "caption": "chrome",
4 t# e# o6 ~6 n: o - "id": "side-bar-files-open-with-chrome",
9 J7 M9 O' Q# J Q: @! }8 n
2 ^. q; h- k" I, O8 K& V# m( Z( K- "command": "side_bar_files_open_with",' D w7 n# f0 h8 W: |: L
- "args": { i" i. n+ g' _3 M' B' C, Y
- "paths": [],
0 D( O7 [4 U) M( w. ~' y - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
. G5 v* |2 w/ _2 v5 A0 Q2 Y - "extensions":".*" //any file with extension( e7 d- K1 h( ]" Z- Q1 {1 n
- }
% u5 C2 g G% n2 @8 |6 v - }' V: J& d" Y" i. z
- ]7 h1 `8 L3 @$ v% |! Q' g! p/ a
- }
2 N8 D. K( K! q+ ? - ]
复制代码 配置在IE中打开Key bindings -> User
* F' f& n) I! [+ H$ z' ?( _- [
9 V: ^6 P: y0 H& c3 k1 F! Y4 W4 H - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
% h s' K: ^% |5 m - { "keys": ["alt+f12"], "command": "open_in_browser" }, k4 c3 d6 H/ b! V4 K- M! P
- { "keys": ["f12"], "command": "side_bar_files_open_with",3 M+ R" B; ]) {
- "args": {/ ?9 f S" n3 j7 y2 l5 Y! ~
- "paths": [],% d5 D- C8 {: e( k' {
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",! h" W. i: f* k8 K$ m. Y
- "extensions":".*" //any file with extension
" q: L" s' z$ m- H - } },
5 `7 b; i' x' c+ p, z - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
5 [* }9 O: {( y% g - "args": {! w4 D" {: p1 z; m! P5 q6 a
- "paths": [],7 r" a! y: a) z4 U' r- B9 m( H" j
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
' S/ i. \3 ] a# O( V( V: v+ C - "extensions":".*" //any file with extension7 B% r3 b! y8 U; \; x. F
- }
0 x1 d7 c9 _1 H. R - }
8 J; s5 n9 G/ z0 q4 d -
- H" z& }1 Q$ a2 L3 H. ^. Q5 e6 \ - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
5 q& C" ? y9 q, w 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 5 z: C3 Y1 {* Z0 X
5 t0 R! i" s* D/ b% N
/ B+ u7 P6 E* x& U, \1 ^8 Q
|
|