|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ) I/ a4 m% n9 R& f' j$ m9 q
application : 路径要修改为自己默认安装的路径。" Y% O* P8 G; V( U& d; X
- [
6 j) ^$ ^% J. e2 [/ d9 J$ h: V3 O - {"id": "side-bar-files-open-with",
, R) n9 @6 B) h R - "children":2 j4 D4 J! y0 E7 o; S
- [$ D; L: F" y6 `7 A( V! ~( O
- //application firefox
' n! |3 H1 y% Z4 p1 q8 e - {6 n3 q& b7 B3 S1 e" f" L* \
- "caption": "firefox",
6 Y2 P; G B# f2 Y: h" J4 n - "id": "side-bar-files-open-with-firefox",
e: ?; y7 L! ~% h - 5 V8 ?3 x% R) T0 o
- "command": "side_bar_files_open_with",9 p2 z; E8 u ^8 m
- "args": {
& A% _- \4 V3 l4 s9 H4 ~ - "paths": [],
3 y1 F0 I# }" J& M - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
8 ?. y T1 }* C7 B+ \ - "extensions":".*" //any file with extension
1 O# `4 L ]8 g( j* `( v - }: [; c& u9 o) i! Z$ F
- },
. B% I) ^5 F W7 M* [ - ' o$ d/ R1 d) {" L% ^
- {"caption":"-"},9 R6 s! [, v6 U/ p
- {* s$ D6 l4 C' A3 Z& j) W1 C. L
- "caption": "chrome",
2 D9 J/ |; [: \1 l* ` - "id": "side-bar-files-open-with-chrome",( t5 d+ a M5 y) J8 M5 c6 Y0 Z7 S
. @: V2 f' @1 f! q) w3 v- "command": "side_bar_files_open_with",
( |* w, _! c; W - "args": {: y/ X" w" M# P" B
- "paths": [],
% k3 Q; d6 D p1 E1 r" L! D) q# h+ A - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",- H8 H+ i! W. ]& ^: x/ A4 C
- "extensions":".*" //any file with extension0 i7 f( A) u+ Y/ P& ~# A
- }7 p; d2 ^, J) O- G
- }: ?: F6 s7 J( E+ i
- ]
5 f6 M1 ^4 I) b8 |9 S, l. d* X' D - }; w2 O; r; H* {# }& K
- ]
复制代码 配置在IE中打开Key bindings -> User- E7 B7 a7 u! a3 ~0 S* D
- [6 F' O7 b$ y4 a
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
8 O2 N* y7 A6 J/ i - { "keys": ["alt+f12"], "command": "open_in_browser" },
3 b; M/ T% v D/ K$ \- v - { "keys": ["f12"], "command": "side_bar_files_open_with",2 X3 N! J3 S6 }% w- b9 C* \. X
- "args": {& M' p/ G2 O9 r1 Q3 R5 Q% O! H2 O* Q, @
- "paths": [],0 q7 m7 p/ |4 A$ [9 z
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",( w* x% R3 q0 @. W" z/ T
- "extensions":".*" //any file with extension
: X5 c4 Z. X6 G) o: { - } },9 z" p; B' |$ c' Q+ g: f1 J0 @
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
! i9 {( M0 W% X, V - "args": {$ o; D' H( H8 l+ S
- "paths": [],
$ g) `. i. e8 q+ f' L8 O/ P - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",% j/ D* y2 {" r, d4 K( z" O+ S% H1 O6 N0 ]
- "extensions":".*" //any file with extension
9 M' `- y: a, y) H4 a* l2 r: t2 I - } 1 D9 ^+ l/ o' Q/ J6 n8 L1 R
- }
& U4 O: B6 r. [% U# u* I -
% v3 A* F' S) _5 J% [ - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
+ I# ~+ n ~- P8 e* u. ]7 @ [1 | 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
r9 F/ S8 @$ ]2 v) V+ ?
" X# q1 l' w1 t1 |' F% ~ X3 b3 ~+ S0 D9 T
|
|