安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 + V9 P% M4 K$ T) D1 V1 H" s* I
application : 路径要修改为自己默认安装的路径。" W; X& I6 y. N6 J" a- o, w4 J7 a8 r& u
- [6 @2 P3 ^# E3 q& K
- {"id": "side-bar-files-open-with",7 v0 v: V& ^* o
- "children":% {+ \$ C! B. n& D6 G, h. P
- [$ u, I3 e8 a7 b! f# A8 F2 y9 ]6 J
- //application firefox) l3 C/ `: `$ r& S# ]" E
- {& ?8 w' L' D! J& |
- "caption": "firefox",
( t2 W$ h3 a7 L) Z3 K# h5 z0 P - "id": "side-bar-files-open-with-firefox",, @! `1 L$ s1 d6 G- Y
7 d) M) z, Y0 H4 [- "command": "side_bar_files_open_with",9 f( B) o: N9 P: h/ V
- "args": {
8 x1 d* x1 O1 B- ` - "paths": [],, t G0 {4 U" Y$ b4 K$ v
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
; R4 m T" J5 ]% ? - "extensions":".*" //any file with extension
6 U: M* }8 {( ~+ C - }0 U f5 R% H+ M6 \
- },
& g9 N- `# k$ z
( Q9 P$ l! b# _- {"caption":"-"},
+ g& ?1 Y% [+ M# ^, M9 h4 K+ I - {/ l- d4 b, @+ u1 c
- "caption": "chrome",
) b, \. t- Z2 T( z2 f% t, @" `: K - "id": "side-bar-files-open-with-chrome",) j" r3 J9 e: d, |
- ; o9 g+ ^ K$ g5 g# ^, B) ?9 l
- "command": "side_bar_files_open_with",
( E, ~8 l! [; {+ w( m - "args": {9 U9 [& \% a" S# a& m5 s( ?
- "paths": [],
5 Y, n5 \/ j& A1 C$ c - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
* J& r: b7 n6 L( I - "extensions":".*" //any file with extension- T% Z0 E6 P) d y" S8 }
- }
3 u; e; C7 U8 o' r7 E - }* C# \- r% Y! j# k8 ^: V# [4 V/ A
- ]0 w9 |% a# V! [) d
- }
* f% i0 a0 c/ [ r0 q1 b9 u - ]
复制代码 配置在IE中打开Key bindings -> User
t' i7 ^# u' ?) g/ b. I8 A- [* I, \' _! g% p6 G1 O
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },6 |% c+ y" F+ j" Z: ?
- { "keys": ["alt+f12"], "command": "open_in_browser" }," O9 W- H! d! e
- { "keys": ["f12"], "command": "side_bar_files_open_with",
o8 N2 h& r4 F( E2 ^ - "args": {
" P+ b1 L1 h; G) z - "paths": [],
) ?/ ]* o. }) H; f9 C5 Q - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",3 \! Z2 ^- R8 z3 j, Y
- "extensions":".*" //any file with extension
4 F3 g7 L, n9 a- h; h L - } }, r# h+ M8 M" G9 U
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",1 q+ i& H# Z% T7 a
- "args": {: \, I1 o$ |+ Q" p/ ?. ]
- "paths": [],
$ T/ N! J+ |2 \ z; A - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",. @; [0 U5 ]4 `) N1 e) g, N
- "extensions":".*" //any file with extension
- b5 |5 j9 }0 ~8 o - }
8 _8 U; M0 U7 \0 V' V - } * \* ^3 b$ x, ]' p: c" T8 X
- " P X$ _- D6 ^9 F
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
& R" B6 V w4 e8 u: G; u/ s' L% S- h 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 5 z0 W! m( X8 x& }! ~- N" u
0 V6 X& C u& i- K% P2 x1 e3 U5 @
7 y* J5 j0 Q0 P
|