安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 9 Q: n, \) H% u
application : 路径要修改为自己默认安装的路径。2 R x: M) k$ V/ \/ r% o
- [* n" M7 G0 C0 I1 s, N
- {"id": "side-bar-files-open-with",; r" a6 B# Z/ e
- "children":
5 H! p& A3 \) A) S8 Q i - [) G" g6 Z9 n/ u. G
- //application firefox7 G* n5 r5 v! W
- {
# V o8 @! g5 G L$ e2 X - "caption": "firefox",
# g# X( I f0 d" }5 @2 b4 U - "id": "side-bar-files-open-with-firefox",* l- T! ?$ m- M* ^2 j
6 Z& e' U. C9 m; Y- "command": "side_bar_files_open_with",
8 ]' K) U1 P' I- p/ h" K - "args": {
" ~2 U, h" [/ i' m. c - "paths": [],
" H" V6 j' j0 h- Z2 g3 e% L - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",1 V2 I4 ^1 g6 N: c7 a& {
- "extensions":".*" //any file with extension
% K. V/ B9 F/ ], ^& y - }7 i0 c3 Z1 c8 C% R- J% U+ y4 O
- },6 V! h* ~+ m/ I8 V5 i* S) K' F [
7 I3 t k% j8 R E- {"caption":"-"},2 f0 _* ]0 s3 [7 U7 v8 u( `, X
- {; X# I8 g& {: p1 f7 p' o: i5 N/ ]
- "caption": "chrome",
! J& t2 l( w& p5 A- i - "id": "side-bar-files-open-with-chrome",; s' w. y6 o3 ~# W+ g
- . \+ Y, t2 I# }' S7 {
- "command": "side_bar_files_open_with"," P7 u2 f" B" ]# }
- "args": {- r! F& B2 w1 S6 v8 Z4 C9 W
- "paths": [],- ]/ J ]2 v4 |$ V6 k* p8 P
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",, j& ]5 O& s3 o
- "extensions":".*" //any file with extension
8 q P) w, c; j4 _+ K O - }
% K7 `/ m+ M E+ X0 @% g - }
6 B1 s+ r" _/ W0 ~4 E& f - ]
7 D& R0 O: }( @1 L- G. u# x - }# T) |* v* M% }
- ]
复制代码 配置在IE中打开Key bindings -> User! s8 q2 I: q* M
- [
, }) @" k F( k$ M5 A8 g& z& B6 M - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
, [( R2 j4 G: t - { "keys": ["alt+f12"], "command": "open_in_browser" },
) ^5 A0 A9 B8 J% e - { "keys": ["f12"], "command": "side_bar_files_open_with",
; P( s- P3 q( z# ? - "args": {1 K- o$ n7 ~! c$ M- n) K( J
- "paths": [],% w- d5 s6 C7 O1 z
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
0 d& W# k$ a, S7 z - "extensions":".*" //any file with extension( Q& U; D4 X1 O9 R y" D# \
- } },
( H; l- u/ x1 y7 Q - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",3 @: } o, K F" A: t# q
- "args": {& @) p; C8 P' L$ V9 A! ^
- "paths": [],
7 {6 I& S, o9 G& j& { u - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
8 l$ }& \' f, J% n% S+ N - "extensions":".*" //any file with extension
1 e. ^, I$ L# K* q: w& V& e - } ! ~7 Z6 ^$ z& C$ E1 B3 w: r
- }
7 G* d) t. M: X+ t5 @: S -
9 v( W9 `( O5 N# }, ^ - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。+ a/ U9 w H/ y7 e4 I# S7 z
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
$ F- S9 b! R: ?6 }9 W; R0 x4 e! Q) k! S8 x" |# n# l2 M
! O( {0 h) R) h' W+ q0 M |