|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 5 K. m4 [3 r) i* u
application : 路径要修改为自己默认安装的路径。
+ T) |6 d; X* n: O- [
( v, p* L- D: E. R# A0 f- a- ? - {"id": "side-bar-files-open-with",
) S/ H# {+ F- o2 c% q - "children":
q6 c7 C( m4 V, H - [
; T2 o- B. T" \4 V& `# Z - //application firefox' u* E4 V& v, l) J
- {5 f2 u) ] X; u! d) M+ ?
- "caption": "firefox",
0 |2 G' {% D; u$ P* K" H. A - "id": "side-bar-files-open-with-firefox",
8 q5 ]& T) l- t& B" @ - 0 M: c+ T% B0 |; P( F4 O% [
- "command": "side_bar_files_open_with",
Q+ F$ G& Q2 O$ Q' v) u - "args": {# J( e7 H5 f5 P. `
- "paths": [],
{: z2 G& j8 q - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",( P4 |6 j( Z7 t* ^. Z$ h5 f+ b J1 a
- "extensions":".*" //any file with extension |* P3 z& z9 ]; ?
- }6 g0 V# y' x3 l
- },) {4 _2 c# @1 _; e8 O, P8 f- Q
- / C! I$ T- j% X* P! r
- {"caption":"-"},
4 y2 Q- o( H- W' O- i1 ` - {3 a' w& r& s0 k3 @' h2 z0 G. a7 z
- "caption": "chrome",. H# u3 y! y) b5 F
- "id": "side-bar-files-open-with-chrome",
1 o/ ^8 V; y1 Z9 b, V y% U- L - : m7 X$ A @% R
- "command": "side_bar_files_open_with",
* k! \; W# b( D) U1 ` - "args": {
# _3 c7 Z T" P/ G - "paths": [],
/ r3 z/ [9 ?# o j - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
) q( Y) V3 A6 D; d - "extensions":".*" //any file with extension
' y' i3 }3 g3 o3 Y& o% W0 ^) [ - }
8 z W( P8 P1 I7 T* X - }
1 G2 F$ k. c& V+ R6 b7 S( T - ]
: }6 F/ l5 T' a; Y2 Q' r - }+ d3 C5 D+ ^1 Z
- ]
复制代码 配置在IE中打开Key bindings -> User4 ^( [/ ~: O+ P8 I) W O4 L4 L
- [
( y' _+ q. ~4 l1 K - { "keys": ["ctrl+shift+c"], "command": "copy_path" },3 n" A5 x [7 s0 Z& Y
- { "keys": ["alt+f12"], "command": "open_in_browser" },
0 {# G. x/ _0 j - { "keys": ["f12"], "command": "side_bar_files_open_with",
# a$ k6 v6 S0 G Y - "args": {
2 N- Q( T! J/ t" O$ O - "paths": [],
4 i8 D$ P8 @! l0 C" b- l - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
; l1 p9 F. q9 h+ R - "extensions":".*" //any file with extension
* ~6 x ^% K! }% s! u! Z - } },
- E. W0 ]6 }, q N4 m7 H - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",: `8 v7 M: B0 a; U
- "args": {
, L' U @/ ]. O( G8 H3 O# u7 G - "paths": [],
: i2 q1 J- N1 D' ?! H; c' z" t& l" k - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
2 K4 S/ O& `% ?& J, J5 i - "extensions":".*" //any file with extension
, M b2 Q* x. x. X# s, A - }
1 W$ c5 |: s$ g& B - }
* @; C% E; W1 ^/ H2 n -
# j3 z7 n" [; w+ S, P4 I/ K - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
n7 g6 O& v; P! Z 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
9 ^! }+ [7 ]' g* W1 [3 E: w; L& F
; i* O4 P- E" G' x3 W) q- ?
7 N8 F9 j" z( W' _9 Y4 p; s: k |
|