|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 . c- o4 h) E0 R( \
application : 路径要修改为自己默认安装的路径。
$ w. J. u6 }. L$ n7 c- [
: c2 r- `7 y4 z7 D9 h6 a - {"id": "side-bar-files-open-with",
' n2 t# `2 r$ J5 E7 ` - "children":$ n4 P: i6 T! O3 \
- [
5 C$ P- x! B7 P" K - //application firefox
$ b3 i ?7 @+ M4 n: L - {7 O. m- \, F$ D$ g4 }( t
- "caption": "firefox",- C: ]$ Y8 J$ c& x" D6 V3 u" A
- "id": "side-bar-files-open-with-firefox",
& {% K( R0 B5 O - ^; w& v9 }0 B
- "command": "side_bar_files_open_with",
3 \) y9 e$ `7 b+ K1 P9 K- f - "args": {( d( a9 x( z9 L- l1 O: l" m# ~
- "paths": [],9 N/ o- N0 C4 K8 y- V- E
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe", U \" D0 J; h& |
- "extensions":".*" //any file with extension' U. q" ^/ s4 `% s
- }3 N1 ?9 K: G+ q. p1 h; P
- },; Y* m& U8 t0 d R( [ \
b( e+ B# U/ t: c" g: G) O- {"caption":"-"},1 n5 K1 |8 k, o' k
- {- U7 o7 {( ?0 H9 |3 y# U7 i
- "caption": "chrome",
* U0 _ x& z' ?; U1 X - "id": "side-bar-files-open-with-chrome",
" }' z( e8 o- r0 l# Q
/ I0 ]; q3 Q+ O* c, k. i- "command": "side_bar_files_open_with",
" D; E0 K- F/ g O. T9 R: q - "args": {% w: {% M. X$ h; ~
- "paths": [],
( K1 }- f1 f2 d" ^3 P - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
2 j7 D/ F' l/ t9 y7 d& j7 w - "extensions":".*" //any file with extension4 j( o1 M! e A* T
- }( s* w& O4 h4 s. j: f L0 N
- }
2 {; H" F3 o& ?# K+ [! U4 P - ]
* l' U* }+ W( l - }6 c: G- P ^! U9 c$ C' j. R9 }! \3 f
- ]
复制代码 配置在IE中打开Key bindings -> User
0 p( l2 e5 F* e/ C2 o, N7 g- [, t. n7 R9 X V2 l$ {# p9 X: [* T, h
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
: u1 k/ b+ M; {* N - { "keys": ["alt+f12"], "command": "open_in_browser" },6 _9 Z& [; N0 t. O1 Q
- { "keys": ["f12"], "command": "side_bar_files_open_with",
2 w) C7 Q& [8 u& q% D$ J5 L5 G - "args": {
1 g8 C; O( ^ n* M - "paths": [],
! J4 A* `8 K/ {/ O6 P - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",/ D# d3 i$ o$ a! r) [; ^
- "extensions":".*" //any file with extension
$ k" A' `! K# a2 V; Q - } },( B# s: y& r" b
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with"," D8 ~/ A" u1 p& W* m( L
- "args": {/ x B4 H7 z9 y
- "paths": [],
: t3 I2 T7 {. c- U - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
) K1 t, v: T0 N; q+ |) N% Q - "extensions":".*" //any file with extension
. [4 H" s+ ?7 B. A9 i - }
' m$ ~1 _8 N5 _$ Z4 T - } 4 ]0 N5 p8 A4 V, a# r
-
6 U$ x, M! x# j4 U* j) Q* w - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
, b( w2 h" R0 K* l7 l 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
7 E# W7 e/ ~& M# c# P# w# A* k7 `+ [7 v8 C6 H' R
8 }7 g$ D, z# L3 J! I |
|