安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
' @0 R; n3 ^3 J6 Lapplication : 路径要修改为自己默认安装的路径。
5 `0 Q& a) f5 c2 b5 t* i& w- [
! n/ }1 @) C. |1 H* |; m; _6 n+ ~ - {"id": "side-bar-files-open-with",: w& y/ ^# G; b" r' {, O/ ?7 X
- "children":
4 p9 |/ H3 m* J1 R2 }( d: w" g - [
% r5 k# \& i0 Q0 ?1 F6 j9 W0 ^7 I - //application firefox5 b* q* h; A) \3 ?0 P2 P
- {' x0 T" c) Y7 R$ K4 ^
- "caption": "firefox",* d( S# r3 K4 @% F$ n
- "id": "side-bar-files-open-with-firefox",: k, M' Z0 A" k8 }% x
- 8 T1 v3 j1 T1 z; \# e: U) o$ l
- "command": "side_bar_files_open_with",, Q$ k6 I1 o$ |- ~. T# {9 T% A
- "args": {+ v4 _. k) G( X! F( x# ?3 e3 K
- "paths": [],
* n! R$ S) E$ x" O - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",- D0 W' w* D5 J: |% o7 M* J
- "extensions":".*" //any file with extension& @1 O$ ` ]: T; F- G
- }2 J' o4 B* M5 C0 Q" x
- },
9 j8 g/ T8 E# N; n) S& C - $ ]% ~5 u/ V* a6 d) x
- {"caption":"-"},4 n" P, ]0 m% f5 ^6 y/ C6 j6 G
- {
0 Y0 M9 J+ M5 r& o- {1 j2 a - "caption": "chrome",- |: j2 s6 x7 G) G! ]& ]" _
- "id": "side-bar-files-open-with-chrome",
% h: U6 V6 C* z- n5 m
3 U8 d, B5 h1 u" X, f( j- "command": "side_bar_files_open_with",
( e% A5 Z9 [$ U$ T3 b6 u$ ] - "args": {/ y2 ~" u+ r& |' q( p* k8 h
- "paths": [],1 |" _+ }& d& h9 P
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",1 T; x, ~7 T( v5 |
- "extensions":".*" //any file with extension+ M, ?, ^5 X5 g, g
- }: _, s; ]8 I! J/ N. ^4 F, w k
- }
6 O4 M4 f' w+ c8 P$ b( O9 a/ O+ a - ]
3 I. z* @7 y- T) h1 G( R1 U - }; O/ X- E- k. l: L: @3 i
- ]
复制代码 配置在IE中打开Key bindings -> User
/ o( `' e2 x, I/ w1 a, E9 R- [( r! A$ u: J% A7 z
- { "keys": ["ctrl+shift+c"], "command": "copy_path" }," ~3 w1 B: n1 k! e
- { "keys": ["alt+f12"], "command": "open_in_browser" },$ s0 G/ D) P; m. `
- { "keys": ["f12"], "command": "side_bar_files_open_with",( e0 [3 k7 i% c2 p L' P! j
- "args": {
! o( g9 N, @5 h2 C. i9 ` - "paths": [],. b) l" U% \( ?. n2 i' I& ^
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe"," J2 h8 m6 \+ ~- c9 v5 v" M ]+ E
- "extensions":".*" //any file with extension
% v8 p p; { N3 B1 Y" f8 b* \ - } },
0 r# |- s/ g; C) W [, h" F0 n - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
7 }! N- E8 r* [# {; P - "args": {
/ z4 M3 n7 F1 h - "paths": [],& S4 z% ^2 R- ?& O5 j3 \) }* m
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",% @2 B! o, u8 f: I
- "extensions":".*" //any file with extension
0 r* k; v- [& i; b$ n$ c - }
h' A9 o1 L# |& c4 m - }
) T7 r2 ]" g: t - / N" Q; e/ X9 [' n7 e3 [; x
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。. i1 O& h @- v5 T3 _/ F- \
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
( L, {7 H: ?# [ r' |
% F0 T9 @- D8 v( @/ t& ^9 K$ r0 q
|