|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
9 m; y' W w2 z, z k6 Z; M% Rapplication : 路径要修改为自己默认安装的路径。0 `4 u4 K2 w( G7 \: ]( Y2 f+ @1 p
- [
/ O( q( c& T+ k3 E8 l - {"id": "side-bar-files-open-with",1 r7 E p0 t4 z6 {& Q$ h9 ~6 S. ~
- "children":1 v) G$ P2 O) H) s6 M
- [3 E& t! Q) D8 ^& W
- //application firefox6 Q p c/ I( b# }) U7 J
- {
2 b" r- C. k4 d6 Y! v0 Y7 j; N4 i - "caption": "firefox",5 K$ c! y& p. c5 @7 U. W
- "id": "side-bar-files-open-with-firefox",, ^1 T9 K( i. n ]" f/ T( t
* N2 M% h9 C' G7 W: e: l- "command": "side_bar_files_open_with",+ y4 f* u5 e1 s6 ]9 L# f! z
- "args": {/ R) Q0 K% G6 U' C
- "paths": [],
* x" `- m" U3 a `$ B2 w; M5 t0 V - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",/ h7 J: B6 w, J
- "extensions":".*" //any file with extension
1 F8 Z5 Z K. O- b+ ] `$ Q; \: ^% M - }" E% ~6 G9 i4 [6 h; S8 H6 F
- },
( R" A' H- d% S% B0 t
" ^8 a6 F. G V& ~ D, X- {"caption":"-"},
9 ^! U$ H! z G/ n3 @ - {. |! i- s9 I7 V d( y0 q, k
- "caption": "chrome",. g% o0 f" c9 F: w+ a; i4 W
- "id": "side-bar-files-open-with-chrome",
( @* L+ ?: N; \; }* P! E6 I* J - 0 k" f1 l2 j. B4 m4 F* `! |
- "command": "side_bar_files_open_with",7 _5 Z2 k% I! k9 I; v* C
- "args": {
. |. T" k0 C( l& A. i) [6 X - "paths": [],# \: f( D' ~* w) ?4 K B3 x, [
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
- u6 A7 _1 R, O/ m9 L- H - "extensions":".*" //any file with extension
2 z8 K6 p: U6 ~6 ]" @ - }
! r6 B8 F% i7 \- F- U - }
8 X4 |* j. S: W- o U - ]
# L5 k; J' v. ^ - }
+ A# K0 W1 `2 c" @ |* j7 i1 s3 ` - ]
复制代码 配置在IE中打开Key bindings -> User' N& G+ [: W2 a! g1 a
- [2 Y8 {" C7 [4 A, F' f
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
( k' I8 \- a% I4 _( d2 r" L - { "keys": ["alt+f12"], "command": "open_in_browser" },- z w7 @* u9 A- t7 Q
- { "keys": ["f12"], "command": "side_bar_files_open_with",
3 Q- ?. T" {( u8 R" S - "args": {8 B0 R" z |% \9 O7 S$ ~. P
- "paths": []," ?* f- D* o* x8 D# E; _3 `7 W
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
8 X2 ] l2 `. ?# U; }$ l - "extensions":".*" //any file with extension" Z9 u1 \4 E% k. c
- } },
8 Z0 {6 m! _/ i8 a" s1 G; ^ - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
# ~9 |$ N" G5 m2 m1 A) y* j - "args": {$ s: C- r8 ~$ N2 {
- "paths": [],& E! A3 j, d6 O0 q% f0 a
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
8 D& `9 Y6 v- p4 E. M - "extensions":".*" //any file with extension
- h$ o K. `) {9 I8 g( c: n - }
2 R$ g9 c9 [9 Q3 c' M) Q" M( O - } 5 l" i. a1 ~# k4 G. j& z+ U
- " g4 ?: Z/ j3 D/ L; r
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。9 K) F9 L( D0 r" ^( b" X3 ?& B
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 ( T0 R/ V- t6 H- W2 @
5 t _, [8 ^4 L& O! J; j
3 y$ U7 i/ ~ j4 \ |
|