安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 % z& x* Y- k9 e! h
application : 路径要修改为自己默认安装的路径。
- h5 K0 G# R4 z- [+ l# l5 f% w- L" t& h7 c
- {"id": "side-bar-files-open-with",
" b! Q! S$ o W+ i - "children":
# e0 B# h% _% T! \+ N( U) `0 C - [! |; E) s! x- r1 l1 c9 K1 E, F
- //application firefox C) R& |) q3 H$ G
- {8 p& `7 b8 y6 q2 G3 {" c; K, Y
- "caption": "firefox",
! X- d5 L- V% l5 t! Z - "id": "side-bar-files-open-with-firefox",
# @* r: T! I) \- a3 c/ D - 4 C/ f8 {% V9 `# [7 I9 G
- "command": "side_bar_files_open_with",3 M# M5 Y& U7 R- D% i( ~
- "args": {
% _+ g5 z5 z- X6 n) N9 j2 r6 q - "paths": [],
2 P. ]5 Z3 e; Q. _$ ]- q - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",2 i$ \, s+ ^1 L+ f& q+ P
- "extensions":".*" //any file with extension
; C e/ m0 ]# S4 X( b0 n2 v7 V6 R - }
* |! q7 g0 u0 c5 Z$ P6 s0 c+ j T - },
* A7 ~5 E5 b9 F5 _7 ^ _4 }, W - 6 c) r4 I$ }: p2 r7 \
- {"caption":"-"},
; J) z0 P4 y6 x$ x; Y2 g' ~ - {; ]) k# L4 z. X
- "caption": "chrome",
# Z( k+ \3 [: ^2 u# I$ y3 ] - "id": "side-bar-files-open-with-chrome"," g( {5 u6 w0 O3 q# r4 e# q% m
- 3 c T0 r$ w* Q8 a
- "command": "side_bar_files_open_with",
& U+ J: y3 {, D$ v, S - "args": {* J/ H4 H8 F% P) D. k, _: W: n& J' ?
- "paths": [],
- Z7 G, n+ F( A/ q/ K: f - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",7 X1 A) [" g( G' U
- "extensions":".*" //any file with extension7 ]. N+ s; g/ }3 A# |# w" Z, c
- }* y5 V& E8 I8 B: n6 {: @
- } }& {8 c) ]5 r' q2 x; x9 z
- ]
/ U% ?4 z$ l2 a: O e6 m - }/ K1 J8 M* s2 t
- ]
复制代码 配置在IE中打开Key bindings -> User9 k* l0 j7 g( n- l9 L" K
- [
! o7 @5 Q* z; Q; k, u - { "keys": ["ctrl+shift+c"], "command": "copy_path" },+ k! R* I' o" |9 D
- { "keys": ["alt+f12"], "command": "open_in_browser" },
% u. ~* q6 M6 |" p$ r - { "keys": ["f12"], "command": "side_bar_files_open_with",
3 D* }: R5 y, J) P% h; F+ @0 [% l - "args": {
5 v% b7 X2 [, }9 f e - "paths": [],
) R& ]# {+ h. D. s - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",9 A( w( P) \! `7 n' z+ K
- "extensions":".*" //any file with extension
) @* ^& P/ \5 ? - } },. r; ?, |6 {2 ]. q9 V2 d: r
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
* [, a' ]# J5 A- N E" ^ - "args": {* w3 E+ K% T I9 M$ m) \1 q& O
- "paths": [],
$ Q, n2 ?) O$ o5 _ Z/ N6 h* } - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",! z3 b3 K v! ?
- "extensions":".*" //any file with extension/ D: t1 }" s/ }) y' ]
- }
8 K. n! ^0 q/ n2 S; l - }
" A- `) T) n- q# N# a2 K5 F - # P: \' c' H9 I
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
0 T1 \0 x J' W6 C6 {4 {$ R 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
* U2 m* r9 h, h6 p, T2 t# g6 W* V! O' g% T: w/ n
0 p( ?3 P' v6 ^/ [* N; @; h
|