安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 3 d- l' ]0 a) B9 d+ G
application : 路径要修改为自己默认安装的路径。
. c/ Y" L) f4 V( u! f) w% f- [1 Y; C5 P* T% C3 ]6 O
- {"id": "side-bar-files-open-with",$ K/ K" ?' h3 {
- "children":' D' t( U. k- H" N7 p
- [* U7 }8 s- x) @: {1 H* o
- //application firefox
6 k9 t( z! k4 x1 g$ i - {( ]& U6 w" R/ p1 W
- "caption": "firefox",
* o2 u H, h- ^) D - "id": "side-bar-files-open-with-firefox",- ]9 `& }" O5 x1 I
, \8 `$ e. W! b9 A. R G; \: ?* @- "command": "side_bar_files_open_with",
" P- I9 b; g" c. d. r6 G* E - "args": {! o* d1 K7 f; N; ]# N4 `* t. w
- "paths": []," p2 _% K& a, W7 N. n2 Q
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",1 E' \4 D" i7 G: S4 r. M4 M
- "extensions":".*" //any file with extension
) q: l) W$ c t/ U9 o$ u - }6 H; y3 Z! u9 ]4 I5 R7 R
- },6 |9 D3 s* g' P9 n/ d
% Q! s- d+ a F. X( W- {"caption":"-"},
% S* {6 l7 \& R; m( ]3 Q" B - {+ D G/ Y- h. k# B
- "caption": "chrome",6 P T0 b8 E* E4 o
- "id": "side-bar-files-open-with-chrome",' g; ^; [, Q# M- L3 R6 a
- 9 R N/ K! ~" B! u$ d
- "command": "side_bar_files_open_with",
( Q0 [7 U" }$ b - "args": {
Y# [& z2 e7 Y7 r) C) Z1 X - "paths": [],- A9 n0 v3 Q1 g% ^) k9 e" t& I( @- H
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",* \. \: F# |' w2 q/ {+ a, b+ F) p# d6 T
- "extensions":".*" //any file with extension# A. P. f8 W: P
- }
' Q/ W5 I+ c0 R' ^ - }9 ~0 w9 v7 n# V1 t0 E
- ]( c- r1 |5 P8 N M0 \8 B
- }6 H2 s) l/ f$ O0 |$ C E
- ]
复制代码 配置在IE中打开Key bindings -> User. `& X$ l" }8 q4 p, l/ L
- [+ \+ E X9 a, z+ X2 F Q* e; S9 `
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },9 p* K9 H: s7 S1 G
- { "keys": ["alt+f12"], "command": "open_in_browser" },4 l7 i, {! u: k# K. y$ [2 |- q
- { "keys": ["f12"], "command": "side_bar_files_open_with",5 V3 p* l q, ^ D" a Q" J" a
- "args": {. N$ @- ]. | y8 W: D9 f; n7 r7 H
- "paths": [],
% V) c1 N# x+ K' g9 J - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
1 Z6 c8 G4 [$ }& q - "extensions":".*" //any file with extension3 d$ Y) c3 l! s; L2 n
- } },0 e/ F( O* H* m% ^& K
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
) n9 D6 D1 f$ }0 x - "args": {: b! ?# x3 [% O* _# x% g6 ~
- "paths": [],
/ Q2 j) ^" A$ R% t, r9 G. n; v - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
* g3 ^) t9 ^9 H$ q; x7 V+ L - "extensions":".*" //any file with extension
( ^; Z0 ^- Q3 E! v+ v! ? Q - }
) K0 k& n6 n8 k+ z; K - }
5 l) \4 a- O6 e* T ~& \7 F -
$ n6 k2 g7 j% W) n( ^ - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
0 y( ]& X \, r! _& K 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 6 W! }) E' K! H/ {! P5 R3 B
9 Z- Q& t. q( M( N5 ^& z, b5 |7 Q1 s6 C- x4 h" Y
|