|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 : H- M; g* {* i+ j
application : 路径要修改为自己默认安装的路径。
. s# O5 Z: {+ r5 Q- [. C* I/ x( o$ T" f( K! c& z
- {"id": "side-bar-files-open-with",
0 e& E* L/ W5 ]3 Y - "children":% y+ l' O. v" u3 r. [
- [
* P2 ]- \ o- z: Q% T/ t% e - //application firefox
% k8 y3 @% e" T5 v# n. n) s - {- q# A4 B- i% G. e" t4 q3 a
- "caption": "firefox",/ ?; m6 j/ g& T
- "id": "side-bar-files-open-with-firefox",, _0 f- o1 I4 s6 J. Z; W
- - B2 e+ t }/ k3 L# ~: i* L
- "command": "side_bar_files_open_with",
4 M g. {' g6 i& K# r0 G - "args": {& G5 G+ X+ d3 S" L$ u4 ~
- "paths": [],+ h# Z* O7 H6 \3 }% h
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
( W/ E* O& r n$ y2 E - "extensions":".*" //any file with extension' ]. y) e) y/ U- c4 f2 E: u2 C
- }
2 x' z) R. [( I3 O; L# ~# v4 g* \ - },4 M2 d3 Y" \/ i; d% s
* u# [& T& V8 e& o- {"caption":"-"},
: }' p, E; u# c7 r, i- h o1 i - {4 v4 v5 U! m* a- B; @/ e! N5 Q
- "caption": "chrome",
, A# Q2 x7 K' E! Z' g - "id": "side-bar-files-open-with-chrome",
, v* P/ r+ Z! q/ J: [ - ( }0 }' I; M- ]4 O2 D
- "command": "side_bar_files_open_with",
% G: h. @' v$ s - "args": {$ d, P9 ^/ z% C5 ?! S# x
- "paths": [],# m& D( i$ ]$ L( T3 J s
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
& b6 W- V+ f9 g/ @ - "extensions":".*" //any file with extension
: J. N. G7 c7 z - }5 N2 n ?' J0 N& t1 M" |/ y: o9 m$ P
- }4 J6 q% B. g$ R; L5 B. z+ I
- ]
$ T3 R& R9 R" A: [& V; P" u! v R - }
- l6 r3 E, H- b - ]
复制代码 配置在IE中打开Key bindings -> User; p4 ^. y+ E6 |6 C
- [
+ k0 K5 D% k/ D4 \ - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
7 I+ D9 J/ m1 T0 U9 n2 ~: O! W - { "keys": ["alt+f12"], "command": "open_in_browser" },
. F4 x3 p7 ?) c - { "keys": ["f12"], "command": "side_bar_files_open_with",* q( n& C, |3 \% U+ Z& X3 I
- "args": {
. I3 f' Y1 \( Q E4 W( O/ z$ ] - "paths": [],
* v$ j+ k6 s- j+ ?5 u$ } - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",8 C; V1 H; E: {5 W% g
- "extensions":".*" //any file with extension0 Y8 s) f* x" l
- } },
3 |9 {! L( N, A$ z4 Y$ z - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",0 ?1 V, z* S# n2 L. T
- "args": { |6 y8 E6 G4 [" i
- "paths": [],; j; X- s2 l( |; e$ v3 u
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",$ [1 J2 C( N- Y1 O' v. ^2 Q
- "extensions":".*" //any file with extension
: p; k+ |( h J! c% h# B - } ( ?' U& J$ A8 Z' n9 J. k+ |
- } & Y- d4 Q/ d" n% O
-
0 W9 z+ |: l) A - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
* q1 a: @. N: ~8 r1 L9 H9 ~( r 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 * d7 Z4 I! k- s6 ]9 ^
$ [9 D3 M3 J- f5 h& s
* D7 A6 L! d q$ A, }! z
|
|