|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 & R/ \4 r% {7 W) e9 |7 x
application : 路径要修改为自己默认安装的路径。$ ?8 S/ Y* O5 M5 J9 S
- [
" k7 B( U0 F o& K8 U, ?& J- s+ @ - {"id": "side-bar-files-open-with",/ ^- M. k; r, w& V- W/ f: ^
- "children":
& q- M5 K/ l9 O" S$ z - [
6 X9 _9 w' o) q6 M. p" r0 X - //application firefox- r' G& v& Q$ l8 A
- {
0 ]3 n2 k) `4 |7 h* j- ]. ^, n4 h) y - "caption": "firefox",
/ j! b; r( R" {4 z1 u7 N - "id": "side-bar-files-open-with-firefox",
) P! F; s1 }9 r) i - F) k0 M4 V9 O$ m3 z( u5 |1 ]$ l
- "command": "side_bar_files_open_with",+ g+ b, x2 J" A* Q8 m
- "args": {! `( y+ ]) a6 {; p
- "paths": [],
) R& j3 m$ K9 ` - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",6 o% J: ^" {- U' U f3 y
- "extensions":".*" //any file with extension
+ z0 m4 X) H7 B1 `; C | - }8 V/ t. _: H; `) R- Q
- },2 `7 G, j! D. J* h5 l* I/ o
- 4 G, q9 q5 S! e) V
- {"caption":"-"},/ k- D$ P# m) D
- {
$ Q0 A/ L) C, Q4 t0 O) E8 ? - "caption": "chrome"," |4 _+ B5 m9 v' U& T8 f! u, R
- "id": "side-bar-files-open-with-chrome",9 o; p" R) C3 M% b- n
8 Y3 P" @! m6 a1 s& @6 x) e+ a- "command": "side_bar_files_open_with",
8 n9 U- b2 }2 q4 O" z( R - "args": {
9 x! w0 K0 Z1 a# ~ - "paths": [],
7 g8 e8 s9 t; p% @ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",; v- O8 W" b* t5 }2 q1 b
- "extensions":".*" //any file with extension
# o: Y: R9 |+ W8 _' i2 l - }4 l6 l- F2 X. A* Q# r% X5 g
- }
# `4 n4 k+ Q9 F [4 U - ]
& L _# p6 ?+ X$ u% J& g' k7 n - }9 m* U$ S0 p; i& M/ w3 [
- ]
复制代码 配置在IE中打开Key bindings -> User: Y% F$ Y9 W: t$ |
- [
2 I v( \+ x/ T5 c - { "keys": ["ctrl+shift+c"], "command": "copy_path" },# L4 k1 P2 W. M Y7 l
- { "keys": ["alt+f12"], "command": "open_in_browser" },
/ l- u! L& Y1 S/ W - { "keys": ["f12"], "command": "side_bar_files_open_with",; t0 B- v5 R: H8 H8 r
- "args": {+ H& Y6 H5 U( T1 a# D2 E) i) p
- "paths": [],
8 l' c+ ~5 R# S4 j2 V2 P) |: |8 g/ ] - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
) B; t* G# ?1 U- Y8 D - "extensions":".*" //any file with extension
2 ^1 S( V: X0 g2 X1 {% B. c - } },/ n) Q. ?5 v" M
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
: h& S" o0 _( i - "args": {1 M. Y, X+ |5 n; m! O( A/ F
- "paths": [],
2 b/ i4 A: v$ | - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
+ W1 }9 ^) F. k- k* d - "extensions":".*" //any file with extension
/ d5 [7 m7 K- I) ?5 Z& ? - }
j% X ~; r0 L - }
( f- A; U7 T& F+ M( l& | - + t' v8 L; G* T A; C8 w! Q) W
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。* M& J* [8 B4 ?' |0 Q- L
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
* M% W, |5 @, ^1 Z4 N$ ~0 R! b) [
' |9 w' W# L6 h" B6 D: `% [" s% r8 {6 f& d
|
|