|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
/ }1 U9 W* @! {5 z- H# i8 Lapplication : 路径要修改为自己默认安装的路径。5 O6 Q# G$ B+ B; F$ S
- [
" e" W6 ]; V% e3 d - {"id": "side-bar-files-open-with",
1 U% z7 Y: }* r* S; P) W( c - "children":
- d; _/ b6 i' F4 @ - [2 z) S; B% o/ n% O
- //application firefox
& [& T X1 H% f, H5 ^ - {
4 f& W+ W7 F9 \7 i) E - "caption": "firefox",) i# ~; E$ [4 t/ G
- "id": "side-bar-files-open-with-firefox",0 x( ]& f* | m' ?3 @4 L' T; k
4 {# _- r! c. e1 J& F9 C- "command": "side_bar_files_open_with",
9 |3 w d0 R% K7 z0 o - "args": {2 X: w8 T R% {, e' J
- "paths": [],
; E- C$ w5 f/ L8 V0 Q" H( G t7 R9 _6 V - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",2 u+ j( H6 n9 O; ^7 S+ Z
- "extensions":".*" //any file with extension
/ b( F* O9 }. S8 S - }
7 _! J# x: ]1 o* ?* ^, {$ f$ Q - },1 E, y! Z. T. A# |0 O" ^' Z' G1 N
9 ?. D0 S3 I) c% F2 t3 h- {"caption":"-"},
. C" z1 ^/ b6 n$ u: }7 b - { N. B5 T. e7 {# P4 r- U
- "caption": "chrome",
" P$ r! x& c0 \! t3 N- [8 v$ | - "id": "side-bar-files-open-with-chrome",# M. s2 m: F3 c2 x, k
z. k. g; [7 [7 i- "command": "side_bar_files_open_with",; ?) g6 D C/ o" ^5 U* t! ~7 ?
- "args": {
$ d0 D) W: t* a - "paths": [],3 ^% O% X4 j) m* {, a5 o& o8 ?0 R0 x
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"," p- |( }# ^4 \# l- l4 l8 W
- "extensions":".*" //any file with extension
! A6 j$ |3 m" g c% e2 g/ {9 c. G1 Q( T - }
9 t, p( r* b& K- n2 s5 ?0 S9 y - }1 w0 ?3 I+ Q) D; u, K
- ]4 h4 g s2 K$ J$ C8 |
- }
( E) C- o" ^) Y( ]/ ~3 j! l - ]
复制代码 配置在IE中打开Key bindings -> User
$ T; R p& N. u/ {; j0 e- [- e) ?% j7 r( C/ T
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
) } y$ ?& u$ j' X5 N - { "keys": ["alt+f12"], "command": "open_in_browser" },
# L* X; `/ H. M0 ^ - { "keys": ["f12"], "command": "side_bar_files_open_with",
0 p# c" m, m! q K* W4 k* B - "args": {% V! Q. @" a7 N& x$ D" ?
- "paths": [],4 Q R0 l% ~: A: p( h; D* j
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
2 i/ r: |1 m' s- E/ r& z! h - "extensions":".*" //any file with extension
' t8 v/ L8 `! d' P6 P - } },
( [/ C0 M; O+ E) ` - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
. E3 L5 J4 k1 Q$ ]% A# Q - "args": {0 i2 \ o/ \$ ?) s
- "paths": [],
6 A# c; ^. N2 h+ R' K - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",/ v: V4 f) `/ i+ A6 e- {$ H+ g
- "extensions":".*" //any file with extension
! `- W/ S7 b+ ^- Z - }
h) x5 R; o( B1 O6 N: s3 F, K } - }
P" g! e6 u. L% {# C; l2 f -
( S: V. H+ D3 x! M" I: J g2 R - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。4 W( W+ Y, g: I C
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 # H6 j/ u8 K9 k$ b$ H
7 L b0 s* Q) b
! b0 m1 y" M0 ~ |
|