|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 . t2 I4 O/ l* R2 ?
application : 路径要修改为自己默认安装的路径。) j8 H, D4 r" e" ~$ O
- [" a9 F- q" i2 {# q/ R; x4 A! ?% t6 U& u
- {"id": "side-bar-files-open-with",( m9 j! w8 i) _
- "children":
; f+ ?9 N* G0 B7 }. {9 K& P9 e- O: } - [
7 s2 Z8 m6 U/ S2 {# `+ i" l - //application firefox# g4 e: ]2 ?6 ]: w& a, o
- {& y4 Y+ W; v" W- a
- "caption": "firefox",( }+ [5 P% S8 y/ p# ~! S# m' o3 _
- "id": "side-bar-files-open-with-firefox",
; \6 ~; k% o5 }0 L
0 L+ Z$ {: M( L- \0 |# f- "command": "side_bar_files_open_with",6 g2 s# ?% U. J4 v
- "args": {4 D. x- o* ^+ B/ I+ z
- "paths": [],
5 [& F3 M( E& |+ a" o. D - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
J7 V1 }, S S* ~+ x& t - "extensions":".*" //any file with extension
) ?# m" h F4 ~+ j1 L' X/ k - }
4 U/ L) ]( W ] - },. u# K3 ~* ^& T( S: b( G+ u
6 v1 y3 Z2 A' l- {"caption":"-"},) n6 [5 e5 x" M: h) t5 y: j2 D
- {
9 m; k3 s7 a! r |; ~ - "caption": "chrome",
. V3 `8 _8 U; ^5 v - "id": "side-bar-files-open-with-chrome",
" u9 s3 z7 j+ @% l/ r: P; { - v/ }5 D* O6 u; s
- "command": "side_bar_files_open_with",# ~3 T: V& N2 Q* v+ `7 o3 M' v
- "args": {
' x7 c& W x( G& u) h - "paths": [],
0 ^' \# N$ n7 R7 D$ y - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
: N" S/ K+ u0 n1 _1 N* H5 e - "extensions":".*" //any file with extension
! O2 C* |3 H0 c/ b - }
) W2 T' K ?: f' X1 ?# h5 e( O& Z, W - }
$ ^9 T) u0 m+ m2 H: U' h - ]
# v l5 Z" S0 i7 K - }/ k8 }3 s; ^7 O1 G/ }
- ]
复制代码 配置在IE中打开Key bindings -> User" f( l" X! e" Y
- [/ h" U. I) o$ U% M$ h! Z
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },& D( r) i. y" s: |2 s. W5 |
- { "keys": ["alt+f12"], "command": "open_in_browser" },
7 C8 P* h6 P# F6 ^% q! Y - { "keys": ["f12"], "command": "side_bar_files_open_with",
9 {1 l) e! R1 j# R8 ^. S @" b - "args": {7 z- i; t3 ?2 `
- "paths": [],. l8 A3 O/ r& G
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",0 t/ g' i' o0 `
- "extensions":".*" //any file with extension# W! M7 ]: U1 u- [/ Y5 _0 L
- } },
/ h! p# c* N) A+ @( P0 \! Q5 k - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
! v. K: i( e6 G1 r0 ` - "args": {
+ y5 Q6 T) }6 o* e - "paths": [],5 ~9 T$ d& T2 Q
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
, F d- ?( N! y# a - "extensions":".*" //any file with extension& `; c6 l! {9 b7 Q2 k
- }
1 ]# N& E+ C1 X - } ) w# _6 K2 K: |6 W9 N& D
- 5 f; Y. p" \5 r0 B. C5 S
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。# Y: U2 N# X$ Y. K
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
. o: D/ [+ E4 h) @: J- a3 i0 O, A* D. T0 A$ R! W+ d% S4 N* v
0 y6 G" z) D0 `6 @% l) k' V. u
|
|