安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 " [* D9 z3 y% p E+ _
application : 路径要修改为自己默认安装的路径。
5 @- S7 M o( U. ]9 ?2 e7 S0 Y# G1 m- [
7 q3 i6 _$ m9 k' s8 t1 Z - {"id": "side-bar-files-open-with",
2 Q2 R- C3 J( m! j! @$ S - "children":
4 H5 [' K) ^% P - [
9 i5 M# b# S. R8 ] - //application firefox5 j) w. P. M h* I7 D4 S
- {( L( u/ Z7 A. u$ K
- "caption": "firefox",0 j8 v: m+ x3 r, W
- "id": "side-bar-files-open-with-firefox",
( U; R8 d! ^) o, w, | - ' y/ C; Y( I) j* }
- "command": "side_bar_files_open_with",
) a# l: E! x8 Y2 _ - "args": {+ i% I& n2 ~: I% z! O4 _
- "paths": [],. M0 g+ `' |* f6 V, H! m8 P7 Q
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
e* r. p$ J' |; g - "extensions":".*" //any file with extension
l+ w0 e( ]* c, ^+ B% S - }* z- m" Z( q5 _' j4 Z5 |7 A
- },
7 n2 M% C0 e" g" s9 N! K
5 U& n- ]( m; O' d- {"caption":"-"},
8 O9 |8 H, H0 C' `6 [% C - {" d. W' _. x+ ^1 A
- "caption": "chrome",8 A; U. N) O0 z& i
- "id": "side-bar-files-open-with-chrome",+ }( }8 y ^$ }& }
- ( w4 S- @' p! V+ G, g+ u. `% o
- "command": "side_bar_files_open_with",
: [0 g3 M1 [! J: v' }; E: L - "args": {
" E0 \' l8 B. c - "paths": [],
- S. ]8 K1 N6 R8 { P2 |4 K( r/ I - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",0 ]6 I# e8 @3 ^/ ?
- "extensions":".*" //any file with extension' F! E+ `2 P# N: N6 d* \8 F9 p
- }
, Y5 A0 P! e4 i; |$ @ - }7 U" M. O' u9 I8 R" N8 M8 H
- ]: h- @* v$ [* f
- }
8 c! p+ F4 A ]) t - ]
复制代码 配置在IE中打开Key bindings -> User- n* R) a* p% u C
- [ V) j" x: z J
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },4 D& o: T" ^+ i% a( S
- { "keys": ["alt+f12"], "command": "open_in_browser" },8 ~9 Q4 {' I0 f4 ^5 i! z
- { "keys": ["f12"], "command": "side_bar_files_open_with",
, g: L- }( N' c2 ^3 k w- T8 Q - "args": {
, R, C T/ C( @8 ]* l2 A; H - "paths": [],+ E1 W/ R6 w7 }' ?8 I
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",! Q$ m) }/ X2 D* |
- "extensions":".*" //any file with extension3 M2 r$ y q" Y/ R: H" a7 k f
- } },
3 `; X! F/ q. P" q) R$ y+ q; a - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",2 D5 b. P* A" \/ f2 |% F! t [
- "args": {
, k) A( {1 S1 Z" Y7 b. E - "paths": [],
+ L$ y# D" l( W+ N; O - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
3 b9 g0 r- S) `+ x - "extensions":".*" //any file with extension" D3 h ]: F3 p2 t" Z4 m
- }
. F. j3 l( p1 G3 F H' l - } # h/ n/ L/ t& U6 |# O# g/ J
- f) d V2 A+ a, N
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。- A7 q: Z4 T; D- @& u i
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 4 `1 L; g! G) M- J; A/ ]+ l: l
* @ [0 L6 x4 ]$ I; l- h, ~ n$ h9 F
|