|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 " }' u/ }8 w* H6 x! X; S
application : 路径要修改为自己默认安装的路径。
1 A+ M+ K; t+ f0 r8 O e6 G- [
% M f$ q5 s: Q! d8 D - {"id": "side-bar-files-open-with",
( D6 ^2 E& ^$ u - "children":& M) T7 W; a; r1 M0 O
- [
& H5 d- X( W2 ^+ l - //application firefox, Q2 r5 Y+ D; t3 I$ k
- {
$ M! V" b* b0 f2 X1 e* o - "caption": "firefox",2 Z+ i/ L9 K( z( r
- "id": "side-bar-files-open-with-firefox",( X- Z4 S$ l3 H3 O7 X
: E! M7 J7 x) l- "command": "side_bar_files_open_with",
8 i/ `3 E4 V0 y. \# ?* {. N - "args": {" A2 ]8 G- _- G+ F5 j
- "paths": [],. f0 l4 R7 m4 w- |) q5 Q
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
8 f0 L9 B( |3 m" b1 l - "extensions":".*" //any file with extension( Y; o) w8 S0 ^! u
- }
! B3 X9 V. S/ w - },
. E' g2 r( k( n$ T* f+ L5 J+ y
" {* g; w- t% |& r- {"caption":"-"},8 a: n$ H7 g/ F {
- {
5 F3 J( Y) h& T; W% k! } - "caption": "chrome",0 h& d# L8 d5 k8 v0 U& Y5 @8 {; `/ H
- "id": "side-bar-files-open-with-chrome",
$ e4 m( d9 j/ ]7 d
: v ~; P/ \& ~( m/ _9 U- "command": "side_bar_files_open_with",
, u1 f1 z' g) r3 \ - "args": {2 ~4 c4 w1 Y. [0 y' {2 z! ?
- "paths": [],
& s& f* G: ]( h - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
7 R1 a1 N$ T1 x" T - "extensions":".*" //any file with extension q. R" { Z$ N/ g8 j
- }2 J' [; u$ M+ B7 k
- }
* J2 i) `( s3 Q: V2 @! W - ]# e- {) M; h1 C: {* V2 z' p( Q9 T
- }
: X: g# V- ]) |. X& ` - ]
复制代码 配置在IE中打开Key bindings -> User
^% w& S7 ^+ ]: g% q# E& ^- [
1 ?* }' X. g" t1 n; s0 m - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
7 a( W6 b7 t. ~6 c - { "keys": ["alt+f12"], "command": "open_in_browser" },; [9 }/ y K; K" Q6 Q
- { "keys": ["f12"], "command": "side_bar_files_open_with",
9 M: z Z; P0 k4 L1 ~ - "args": {5 a* Z& o4 I" }& a/ z6 D# D2 T
- "paths": [],
- @5 o& k9 j; T- r - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
7 S! I2 h2 M8 x! {8 c: ~ - "extensions":".*" //any file with extension
2 V7 X2 l! ^; p1 h; }) e - } },
& ]; g8 \8 ~+ X% }4 | - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",1 E: r, a2 W) ]- ~ u
- "args": {; A/ q2 Q' S* T$ `- P* \
- "paths": [],# X" l+ r' B" }' Z" }' b* A$ v/ w
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",. p2 d( W) l! I
- "extensions":".*" //any file with extension
; a/ S5 k: S/ v) _' A - }
( K( r$ K0 f5 A, s5 g - }
/ V# t( C; v, G& t1 p: R5 ] - . U: a3 T" ^) v; l ]6 w
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
' _$ a9 g2 `. W7 Y! {/ v 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
, d( e1 i& v3 l; |8 L& D9 a' N
: ~% a# d+ D) U8 n$ \
! o4 j, }, _% T! g! o |
|