安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 0 D: ? F( k- C4 ?$ `
application : 路径要修改为自己默认安装的路径。+ O4 W) [' G. x9 E$ j; _/ O) O
- [& E: a/ d/ h, \$ k& i3 v
- {"id": "side-bar-files-open-with",
, N6 U, [8 Z# s" o( E1 j - "children":
& H0 L" Z! V3 \9 V6 V+ F - [
7 u8 ~3 }% \2 b+ t+ P - //application firefox2 n3 v9 y1 W9 o1 ~
- {( e$ A2 |* T8 G1 a+ m* W1 O, {0 v
- "caption": "firefox",3 u8 x6 R8 ^* [% j: ?0 l
- "id": "side-bar-files-open-with-firefox",* V* D0 D& j7 u% ^, z
: O: }0 b7 y! v- "command": "side_bar_files_open_with",
" E& x/ ]1 K- H P" ?5 Y" J - "args": {5 u! ^6 M7 y7 S, Y/ `. z) u
- "paths": [],
5 x5 L& u5 w0 ]( u: q# f% o - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",- ?: I# n" G2 c
- "extensions":".*" //any file with extension9 C+ j$ |, m% M7 h( }
- }/ E, y* V3 o: r5 X2 P A
- },7 y0 _$ k5 q; ^, A
4 Q+ C" N: P7 X9 Y! G. d5 A- {"caption":"-"},
$ ]. ?7 s9 a0 k& c. e - {
4 E3 h, }3 ^8 S+ C/ w' l6 z - "caption": "chrome",0 E& q6 O+ ?3 \
- "id": "side-bar-files-open-with-chrome",4 Q- t9 X, W: s/ H
$ E$ }9 G3 f) Z* Z t- "command": "side_bar_files_open_with",
, @9 Q) H5 J8 \ `0 g/ C1 D - "args": {2 {, P% T( R% Y$ E
- "paths": [],$ x2 J; a* K0 S/ z1 N2 O
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
. y8 g, Y: Y# s$ S - "extensions":".*" //any file with extension8 d0 q. i- F# s4 D1 Z
- }
" ?5 J$ ^) O* F1 N9 H - }2 A* d- W1 o/ h8 b5 o" z$ @$ P
- ]
" E4 x' ^) I$ p' ` - }
( R+ K2 ]2 r( Y/ L - ]
复制代码 配置在IE中打开Key bindings -> User. V8 x" D- r6 A$ t* C$ x3 I* m
- [5 z8 B. u9 m+ O& B* x. W; e
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },* a, l5 O' T' P) \3 c; r0 j
- { "keys": ["alt+f12"], "command": "open_in_browser" },/ c8 {5 B2 k7 D- G- U, h) K
- { "keys": ["f12"], "command": "side_bar_files_open_with",
% B0 L- y' j4 ~' T e - "args": {
& n; R! Q1 B0 t. G% H% v. z# e - "paths": []," i3 ?5 j5 a( g, x; }
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
, u4 s1 S; T9 O- T; c7 Q - "extensions":".*" //any file with extension
! Z/ H$ L9 S5 S* L3 E - } },
" J, u. G8 ^* B% M1 s - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with", M( f" y9 l8 R* x- W4 `
- "args": {8 q* O+ G3 D, Z D n
- "paths": [],) b8 \8 o, {+ P0 \
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
+ b( `. ?4 c8 z - "extensions":".*" //any file with extension
7 t$ E( g( i* o - } ; T0 U, L$ o% W7 D0 V
- }
% e2 [, [7 K# V# U7 I' f6 [* F - 0 o$ S; [ R$ r0 s/ L% N( @
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。3 M& q3 |' K7 Q4 M7 w4 [
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 ; ]) C) i4 Q% b( S2 I
( |; G/ U1 m* o# w& [% @+ b
a5 f# H. v7 Q/ {( H1 N) n+ X; D |