|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
! d3 v$ C% ] capplication : 路径要修改为自己默认安装的路径。
9 E3 n3 G. [: O/ w- [! c. _9 T4 d9 ~! H5 l
- {"id": "side-bar-files-open-with",
* i* G) P4 Q2 d- D! C- ` - "children": I* A3 R; V/ `/ {3 O# R6 N! ~# [# A
- [" @- v: _- f4 k1 X3 s
- //application firefox
9 Y" v0 ~: T/ _0 U- d7 x8 F( f - {0 V% U' O/ j K, a7 Q
- "caption": "firefox",! c- R7 e; T) U& h9 l7 h/ F$ a
- "id": "side-bar-files-open-with-firefox",
) E) L; ? L4 n3 f s
$ y8 c. K. K2 ]" P7 k' E# J- "command": "side_bar_files_open_with",3 j6 G' n- c* d* R- t0 E
- "args": {
* J- a5 h; k1 l( B; F7 `! }3 a5 w - "paths": [],- o% J; X/ U$ L2 H6 i
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
, z7 s [: ^/ H6 Y# c - "extensions":".*" //any file with extension
1 F+ {4 N, U+ U1 H - }
a- l% u0 q2 B; i - },
9 Y: `7 u/ M* z. t# z" v - |. }' H# D" r3 j
- {"caption":"-"},
- \! B7 p: A2 f - {
0 l y5 Q4 X- c# r O/ v# z* ?, q - "caption": "chrome",
- V3 z, F& w' J9 U. ]+ y - "id": "side-bar-files-open-with-chrome",
9 f. J' ]" z" {- i1 [
. q& a; j# n: Z- "command": "side_bar_files_open_with",9 U K1 G6 M" `4 B6 ?" [0 m
- "args": {
8 w! T( l( i' l0 x$ G" r4 R - "paths": [],
6 v6 c" C4 y: c/ k; ~ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",1 Q1 {# ?5 T C
- "extensions":".*" //any file with extension
1 j3 u; d1 x* m2 [: K2 G - }3 H+ S0 O1 u6 B* \
- }
# o9 E( O5 O. _" T - ]1 f/ }9 I, z2 G0 a7 N) g
- }
% f0 Y% B; [; d8 v4 i1 u; l - ]
复制代码 配置在IE中打开Key bindings -> User" y. u6 ^. i$ {
- [
0 N* L: S* n/ L b - { "keys": ["ctrl+shift+c"], "command": "copy_path" },: A# O* `4 |( y$ }4 T
- { "keys": ["alt+f12"], "command": "open_in_browser" },
+ g4 a( s! i2 m0 s, Z9 i - { "keys": ["f12"], "command": "side_bar_files_open_with",/ @- c; u) U' N- c4 L% w7 x& n
- "args": {
- e1 {. S5 Z* u - "paths": [],
8 i" E6 Y9 {% H [ - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
`# b' z' s3 x' E; Y8 p - "extensions":".*" //any file with extension+ n4 }) s1 h3 H& `1 |0 H, g
- } },7 v. B6 P. p5 A
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
& q& h, p. _$ S# D - "args": {6 X/ v* \0 C) Y' d5 S
- "paths": [],4 m& ^( d/ L# g) f
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",. [9 q J+ m& X( h& n# {
- "extensions":".*" //any file with extension& |0 ?1 |( |1 E5 r E @# {
- } / n) W. C5 a. D
- }
6 @$ K; k7 V" y6 g4 t' k h - 6 j* w) |. x+ M
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。% ^/ c5 X( O# w
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
/ c" P) P, Z- \9 C
; l5 l" |$ P! V- z$ k' Q" [
/ q! o! _4 i7 t2 s4 V8 s4 ^ |
|