|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 / N& e& U/ l5 z( j2 C
application : 路径要修改为自己默认安装的路径。
F# f% U; q9 |! d& P9 B5 t2 o- [
+ L4 I/ ^# g2 [1 H8 j - {"id": "side-bar-files-open-with",9 n! ?, b& ~6 T3 ?4 J$ J
- "children":
6 r& K4 I& \* d0 H" K( E0 b - [
0 y+ `- J, w' O6 f - //application firefox! x! X0 \+ p8 Z4 T5 D
- {- R7 d- [# \. N" p
- "caption": "firefox",
r: ]0 s9 z6 j" x - "id": "side-bar-files-open-with-firefox",
9 f% n0 G2 ]# {7 p' c/ P2 K$ w# Z+ v - 7 @# z3 C! ~8 c) V! `
- "command": "side_bar_files_open_with",
( g ]( M; Y9 j5 C7 b: s - "args": {( X1 o5 L2 z- R2 W7 B5 g( ^, E6 S
- "paths": [],2 s/ @5 r7 w1 g" M4 j+ m
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
3 u& `$ m7 s0 k9 { - "extensions":".*" //any file with extension! y' E; x+ @: _. ^4 G4 J
- }
- a, [9 j$ w9 ] L/ q - },
2 ]2 Z* g+ p6 [" U$ N - - k1 ]0 d. `1 R |
- {"caption":"-"},% I6 |0 b2 n9 H5 |& S& q) o
- {
, Z5 G* X* g- ^5 R& A7 p7 Y4 I - "caption": "chrome",3 ^0 E* _: @ x7 q; U5 L
- "id": "side-bar-files-open-with-chrome",
! D( K2 N) E$ B6 k( ]% y' z - ( g; e# y" _; p) q" z
- "command": "side_bar_files_open_with",
a2 Z8 j& k# l) k0 P - "args": {& E+ G" B0 p8 I# ~" w# `' c
- "paths": [],
0 J" [/ T8 B" f$ m - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
4 o" q- V+ C& r - "extensions":".*" //any file with extension
5 C/ }3 \7 _1 [4 ^/ ~& N" ` - }
& j$ l. L1 Z: v. }( C! G - }
/ g1 ?; d# G: |9 _7 C9 i, \ - ]8 \- k2 r5 v, v% Y3 g2 M
- }+ l% g' {' i; U5 M$ Y" ?( j
- ]
复制代码 配置在IE中打开Key bindings -> User
" f. v" i/ Z( E' {- [
* w' D9 ~; V+ [! t! j3 N' _ - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
" Y. U; M0 ^8 U3 m7 x/ n - { "keys": ["alt+f12"], "command": "open_in_browser" },
" b: x/ ?: l3 ?4 D1 |( q - { "keys": ["f12"], "command": "side_bar_files_open_with",
) L5 U; @* g+ v9 ]2 [# w - "args": {+ I( T& e7 O j" G
- "paths": [],8 u; X' i, B9 l. ]
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
8 D" j2 `! t5 \5 K% q5 e - "extensions":".*" //any file with extension
8 i6 E& Z- u9 q- x - } },
( x) z+ Y! S8 @4 Q9 ?6 T* s1 |0 o; }3 K - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",& k5 W, g: R( s
- "args": {8 x9 ?9 g- ~* z6 `* S
- "paths": [],7 t* K# T2 s. C5 E
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe", {3 ?. Y: ?; v+ M" R; k% x* }
- "extensions":".*" //any file with extension) O6 v4 }( h! T+ Y! P! i H
- }
' H9 L1 }1 e; T1 j9 }! b& I - } - p' E1 `* {6 d$ I
- 5 j' ~' \! r" x4 n; z6 v
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
; T9 n: R: L$ T1 [+ W 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 9 Y9 K5 @. O" r* T5 s
6 Q4 J: M+ H, m+ l; q8 j1 i* }) |. P6 K- r+ \. Y
|
|