安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ; M% a. u9 f6 \) T$ |5 y; L
application : 路径要修改为自己默认安装的路径。$ E' V) J! C% ?: c: [
- [
+ r* @8 F' J& t4 U% R - {"id": "side-bar-files-open-with",- P" o% \3 _+ J* A
- "children":3 m' {1 X+ w4 S5 q4 g6 d
- [* u( l8 C2 ~# f. b$ F) W
- //application firefox- W! b. |7 @4 Q; m
- {' z- g7 F9 v6 X9 }1 X- S
- "caption": "firefox",
0 m4 H y& m. T9 V/ H7 l8 Z+ t) V - "id": "side-bar-files-open-with-firefox",
, w& w# H0 E- |( U
9 ?6 T0 H- F& n- "command": "side_bar_files_open_with",8 y! V6 t' s p5 f% N* g; ^0 ^1 x
- "args": {# f* X3 a/ Q- V# A' t: ?2 o6 L! k, R
- "paths": [],
; `1 C- |& \, T Q1 d4 `: }9 ^ - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
8 ]* }4 V- ^8 p2 m0 A f1 C- Y. I - "extensions":".*" //any file with extension/ C' \' u( @( J/ q9 M0 ?
- }
r8 r, j, K# t - },
( w% n1 J) ?- F - + Z" {2 m" s( g3 N: `. c: X
- {"caption":"-"},4 A6 ?; Z9 C6 l
- {: P1 e" Z8 K! T! R
- "caption": "chrome",
( ]. ^+ R+ c2 `, L0 T6 l - "id": "side-bar-files-open-with-chrome",$ r; Q! _! w) k5 X) m5 _! ?
- & H5 R7 n8 I8 d: z2 B$ j
- "command": "side_bar_files_open_with",: h6 U! |$ q/ D
- "args": {7 `% p$ M. n/ ^% T+ q' U
- "paths": [],9 r3 E q0 D! ~+ G% A
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",4 G- }' G3 R/ U$ |7 D
- "extensions":".*" //any file with extension
: x4 Y3 _& Y7 x( X k - }
% S# e- u {/ P4 P$ } - }9 O- Q/ J' H- K1 z3 ]+ `
- ], ?4 \& I& F# N O
- }
- X6 r, @( q% v3 ? - ]
复制代码 配置在IE中打开Key bindings -> User
7 \, ?9 b7 N! f% o/ O4 i2 C* u: O( @4 w- ~- [
# P/ @9 M! P( t- G% n4 \+ L- R - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
8 X( s/ `( b3 K0 B - { "keys": ["alt+f12"], "command": "open_in_browser" },
) s' H7 _) _3 o2 _2 C. B9 N+ _ - { "keys": ["f12"], "command": "side_bar_files_open_with",7 d8 A! m6 l8 s$ t) r, @
- "args": {8 J. O1 h8 B0 V) N% h% D w! W
- "paths": [],
+ [) h- ]/ y7 W$ R& ` - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
2 N) N. F, ~( j& U: @ - "extensions":".*" //any file with extension
4 W, p+ [* p# E; s2 p3 v - } },
2 i* C) B6 e+ }- V O - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",% _' y7 e1 X2 s
- "args": {9 `3 v. o3 F/ r6 E
- "paths": [],
( o; u( t5 T; V* D - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",& |9 Z& N! b0 }: n' W
- "extensions":".*" //any file with extension# c6 Q, j8 x& q8 r% ?
- } 9 n: w, u- b4 K2 ]* {
- } 1 m/ w( H: w+ P J9 t( u" P3 R$ H
-
/ O; J2 n8 F2 M/ Q* g' D - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。1 r1 c3 T$ m3 C' a* E! Y
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
. v) H- `+ x3 x; r: @2 B+ x$ m0 H# O' C/ _6 h
7 o+ f3 N% \+ }/ S' s$ k( s9 W
|