安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
! C1 \& G- @- ~) Lapplication : 路径要修改为自己默认安装的路径。
& ]0 N1 D5 d: \4 ~- [! m/ X- Y9 U6 G2 B8 {2 z% U
- {"id": "side-bar-files-open-with",
' ?; R5 S! x- A! ], i: { - "children":
- r6 C3 U* `3 D, Q: M - [
& a0 P R( M. T8 f - //application firefox
5 z: J7 G7 B; [$ C- |1 O j p7 s& g - {
# x: ?( u' a* J6 n - "caption": "firefox",
% v" u4 s* g4 J. G7 N- U! Y, p - "id": "side-bar-files-open-with-firefox",# Z. ~. R3 g: m5 g* C) t
% P# ]! V1 t) y; o& E# Q7 S; N% T- "command": "side_bar_files_open_with",
: R3 f5 ?8 F% g$ E3 x - "args": {
) y; A$ o9 c+ m/ z - "paths": [],
* c, n! L9 ]5 ?' A2 v7 @8 | - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
) U& x* C/ j- C( a1 ~' a - "extensions":".*" //any file with extension
% ]7 K4 V8 O' S- e - }
& D R7 v C+ }& u y A - },
1 ? x& ^- F m2 p+ ~& t7 p* |1 U7 S - * ?3 l* T" J9 z7 {2 I
- {"caption":"-"},5 W3 h$ B8 }2 L# d. d
- {# D: z1 Q J3 q) [( a# Q7 c
- "caption": "chrome",
* w9 H2 z6 h( q5 _, G1 A - "id": "side-bar-files-open-with-chrome"," f; X7 L0 o+ z) W
8 C+ {1 n4 r- s1 b- z) G1 R- "command": "side_bar_files_open_with",4 g2 O$ T1 V. ? L! q6 \9 W# c
- "args": {
. z% [+ r" d4 Q, H ` - "paths": [],9 b W: I' O5 X1 ?
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
( C& \1 h, z% V- f0 t - "extensions":".*" //any file with extension
5 w/ ?* j3 z% ]! i/ @ - }
3 l0 l7 L* J- C" c% P& J% F - }
' E2 k/ M# C2 h0 V3 h3 e: D - ]6 w6 |# ~% c& D/ G/ D4 [3 F
- }
8 S Z' J( E: q/ b* l - ]
复制代码 配置在IE中打开Key bindings -> User) G1 p* k0 c7 W9 k
- [
B3 _, J% D" K) Z5 J8 q( ? - { "keys": ["ctrl+shift+c"], "command": "copy_path" },$ {% o/ M& L. w* e4 o
- { "keys": ["alt+f12"], "command": "open_in_browser" },
( J( `7 V% d8 d9 K* e% E - { "keys": ["f12"], "command": "side_bar_files_open_with",
6 L; K& a3 }. P$ d" @3 E - "args": {
- L5 k1 ^( p6 s; V6 ^+ x - "paths": [],( K7 \ P2 q: W/ v$ F. d
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",4 I3 Q8 G3 |' j, D c9 H- Q
- "extensions":".*" //any file with extension
& v' ^0 S7 ]8 a. q! d/ } - } },! v0 u- Y8 V7 }3 i8 E; r4 Y# u
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",1 Y5 P4 }/ Y M0 U& n) D2 F+ F
- "args": {
- _* R, E: u+ W# v( B - "paths": [],
$ `; _7 F ?/ C7 P* z( Y$ e - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
: ~& X3 A& p9 J - "extensions":".*" //any file with extension7 n6 g) ^9 i, m3 F7 R/ z, W2 ^
- }
& {1 O8 ]% k' n6 k$ K; U+ Z$ n' C" d - } / H% w* v' D! F0 k; u' W' s
-
' L2 c' `. p0 h$ b0 W - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。 }: Q9 `. m! f
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
1 s8 R! P, O h2 l
9 g0 I: g0 p6 F8 }, `4 S) ?
7 x7 }5 W ?% B3 a# d$ g9 ` |