安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
) B/ a* n# \; f- z5 eapplication : 路径要修改为自己默认安装的路径。
0 x: w8 f& b2 U" c Y- [2 M7 O y/ [+ v# ?$ L5 i
- {"id": "side-bar-files-open-with",) J# O3 X6 [3 z4 s
- "children":7 |) e, S& y; X5 D+ @/ Q
- [8 m* @# p4 s% Z/ a5 [
- //application firefox
0 G. ]7 X4 t3 ~2 R8 V, s! B - {9 N0 h2 T6 H8 c! Q' _6 f7 M$ R
- "caption": "firefox",
9 W8 I# S6 D1 w0 x# f8 { - "id": "side-bar-files-open-with-firefox",
+ I R7 j4 ^; Q# K j) l - 0 \" V% [& q/ n4 l, M v
- "command": "side_bar_files_open_with",
2 G6 w3 |5 V& i, ]7 S6 T/ I - "args": {! U# H4 x: y, O+ E+ Q5 T
- "paths": [],. e5 [* P3 G0 I
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
+ N+ f5 @1 W4 m" y0 h: c9 I - "extensions":".*" //any file with extension$ z* t+ |% ?7 n7 u! @7 F$ U
- }
% H2 c7 w* T0 d; I8 g4 Y) Q" y, ?* A* i - },
2 c, t* h0 R) D7 U& K - 1 z [, Z) P0 ]3 s0 w# {9 @
- {"caption":"-"},
$ H4 n% I, e/ u1 P# R6 J# Q - {$ Y( ?2 U* B Z' m- _
- "caption": "chrome",6 N. f3 k9 F$ T3 m# R$ h5 m, f* I
- "id": "side-bar-files-open-with-chrome",
8 v( \1 c& ?; v
+ m$ A1 m' R- F: B- "command": "side_bar_files_open_with",: \4 G3 p8 t: D; C$ P4 w( M- j
- "args": {$ P; `# E. b8 A/ }# p! I$ v
- "paths": [],
& `! Q3 P8 u# z6 e - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",, H" z Q7 }$ d8 B3 G6 F( R- V
- "extensions":".*" //any file with extension$ J& S/ ?# O; N2 r+ ^( m0 h
- }
, A5 g7 Z6 z7 { r9 k" [# J6 t2 m - }
) _' r7 K7 ~: M# @ - ]
" [: {4 M5 u. w# Y; q - }( h/ r" k9 i$ Q# n) e t) K
- ]
复制代码 配置在IE中打开Key bindings -> User) n1 c7 [6 X; k9 g
- [
7 G* I# ]! K4 z8 _9 w - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
( B; N: ~2 s! Q# ~# X- ~2 t - { "keys": ["alt+f12"], "command": "open_in_browser" },
8 l1 z, h P/ ^) B) x0 \ - { "keys": ["f12"], "command": "side_bar_files_open_with",
# s# s& Z8 c) ]7 I! v7 t D" d x - "args": {0 U) C- F' _8 f' a& I
- "paths": [],, P7 \3 [; G% L- g" b8 {1 _
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe"," p" l0 | ?- g( ~
- "extensions":".*" //any file with extension: e( P" G. N5 E& x. s
- } },
* ?. S' j% @4 H - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
0 S S( X) G# H3 B- q( t& p+ ]" b% L - "args": {
5 Z2 a, V+ Q( p; L) P! `" w - "paths": [],: r7 F- {! ~0 I5 D5 _! [
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
' d: {( f: i/ x" s( x1 \$ |4 h - "extensions":".*" //any file with extension
J; l5 j" k" G5 h - } 9 i, X$ D0 b0 L6 V) n) r% O0 d
- }
7 E! B! U1 Z# J/ \5 y; X1 D - : G) y' s+ K8 e+ d
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。 K+ e9 _5 E( Y9 `, S6 p
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
) I" o2 [$ u3 I \
! S$ x# _4 d$ _! ~. s/ O
3 `8 p* X- |1 }' i# E6 }, q |