安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 ' X; s1 Z: D3 J
application : 路径要修改为自己默认安装的路径。4 m {* N: h& J& R7 t# f4 q
- [
# I5 j1 a9 i9 _ - {"id": "side-bar-files-open-with",4 L2 k; q6 A" N7 v& S2 b4 H1 F
- "children":* l, q) z1 @ k" n
- [
, U! s5 w2 e9 L - //application firefox' l. x, Z2 E {, U
- {# a& _+ E0 J7 m# |# f, E% X6 A
- "caption": "firefox",. \# T) ~. e/ n* F' D& k, ^
- "id": "side-bar-files-open-with-firefox",
& q! i4 z; V; L9 y, m - $ n% `7 h) S$ v! i
- "command": "side_bar_files_open_with",
$ I/ l5 j! n! y# x- o - "args": {3 ~/ y `0 V: J. t+ V6 S F
- "paths": [],; q( v+ D6 B" f% T! b
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",6 ~- H6 R3 R/ X- k2 w3 Q( j k
- "extensions":".*" //any file with extension
( j/ p9 @2 F6 K - }
. t9 p1 b; [& a$ C2 A1 r - },& O' t9 k- W; x( a: n
" v4 l( {& d+ `- {"caption":"-"},% C3 N# q' b$ ~ i) g
- {
- Z2 W; G6 N; T( s' h - "caption": "chrome",
' O. T: Z4 X5 J/ q' K' r$ j - "id": "side-bar-files-open-with-chrome",% V1 J& Z9 @* T7 g% J5 v
- 3 a* I, Q: z5 H# S' i- E8 Y
- "command": "side_bar_files_open_with",
1 k: z( D- f4 Q - "args": {0 X* F4 c* j, i0 @
- "paths": [],& R& u3 V# n# j$ N$ O0 @, v
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",9 Y0 d9 B3 r5 z, G
- "extensions":".*" //any file with extension. Y+ F* r! }. Y2 E% n! i2 Y
- }- U! W# a% j4 e. O& Y. c
- }- y4 S- j* a$ H. a4 p' n. n4 N1 E
- ]. z& J/ s9 Z& e5 {- e
- }
! o, x$ @5 i; z9 [0 y - ]
复制代码 配置在IE中打开Key bindings -> User3 j Q5 D% n9 n) e9 U r3 t* A) q
- [
' _. v* ~. @; T: _5 T - { "keys": ["ctrl+shift+c"], "command": "copy_path" },& L, e6 P& l2 M, |4 c* Q, l" R; ~
- { "keys": ["alt+f12"], "command": "open_in_browser" },
. P0 W$ B4 `! F' L+ F - { "keys": ["f12"], "command": "side_bar_files_open_with"," R9 Q3 g9 |0 P1 ?1 j: ]( q
- "args": {
/ V; V, @9 b( K6 [( e% D9 c - "paths": [],
6 j+ w! A1 a( c) z. n; w0 R - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",0 x# i1 Z4 ~& r$ S7 q; H$ B4 b7 B* r
- "extensions":".*" //any file with extension9 C: X: x w4 n# K7 G& A
- } },: e5 }2 B9 f, \2 ?" y
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
$ P* X- b& T# m" i" I( y9 |1 @ - "args": {9 M3 o% b u5 G( Y9 X1 B
- "paths": [],
; {$ J2 I* M, R" Z( ~ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
: V Z( P }2 D) Y: T - "extensions":".*" //any file with extension7 Q9 V9 U/ c4 _+ Y, z8 R: m
- }
4 t. d! E: g9 H5 J6 Y9 H. y - } 6 x/ K2 G4 ]+ t% g0 I# A) w r
- - \: r, e) X1 \8 a; C1 n
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。4 K) i# H; p/ j; j
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 ( O }7 k# |3 [/ y) Z e7 [& O
& ~( Q O( d2 s0 N. ~
# D6 H q3 O! T1 g* N$ }. W |