安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 6 c. K+ p0 i3 m4 b O% Q$ w$ B6 A
application : 路径要修改为自己默认安装的路径。
+ k( R/ I6 x& V# O0 [8 N& b' X- [ W* ]9 H7 c8 `7 M* F! ^+ d' D1 U
- {"id": "side-bar-files-open-with",
' t# x+ Q [( j - "children":; Y5 C# F7 f. u
- [
' D" U8 T& ^2 j - //application firefox9 d2 ^+ I9 g: F" V
- {
2 Y7 P5 f* A* N5 m0 M2 C; [% A: t - "caption": "firefox",
3 e4 b3 W( _- d! R) j! A5 p - "id": "side-bar-files-open-with-firefox",
( ~1 ^. p; h ^ S* c - . U8 V+ d9 |9 Z& _
- "command": "side_bar_files_open_with",
7 x4 Y; c& j) i: F. c - "args": {
( \0 p' b3 A" t6 {; B - "paths": [],5 Z+ e: S5 ~, G- z9 H
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
7 D0 k* S- a+ m0 S5 O4 k - "extensions":".*" //any file with extension r* x3 k& C" x' \8 A/ Q
- }
6 J! s, h6 a; K1 N2 }) P! q - },
/ h% p& Z1 j6 z& ^! n. A; \ - s% ^4 f- K# ?7 W$ u+ H6 Y
- {"caption":"-"},
% b. {1 q0 f5 A, @ - {
! u0 F3 f* V- X( g% u/ |) S3 c! L - "caption": "chrome", o! l- {1 [) i# k* h' e! `$ R1 M
- "id": "side-bar-files-open-with-chrome",
) K0 K% n- H; G1 L" l7 C8 i4 W - , T0 i* x* B7 l* M
- "command": "side_bar_files_open_with",
+ v! s6 {+ Z" c; B - "args": {0 L9 ~+ d3 H% K+ f, m$ W& c/ }" U; c
- "paths": [],
' y5 T2 p7 j9 g- R+ F* d0 ]' N) B - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
* U5 f" t$ A2 r) P - "extensions":".*" //any file with extension
! F' o, m6 E" a. o) f - }* M/ E: v: a/ \# T
- }) ? \4 U1 W! K$ N$ ^& Y
- ]
& q A' z# J) D% e6 v: N - }, g5 O2 S% ` k. {! g6 E' U ]* f
- ]
复制代码 配置在IE中打开Key bindings -> User
- _. Q- L7 \8 Y6 y6 P( a, p1 n- [
5 n- F+ F0 G1 h" c5 y- e- J$ ^& H - { "keys": ["ctrl+shift+c"], "command": "copy_path" }, C8 z8 Y* {: ?4 `$ m
- { "keys": ["alt+f12"], "command": "open_in_browser" },
1 |" s; V, D5 m Y& ^1 i& ] - { "keys": ["f12"], "command": "side_bar_files_open_with",
+ i3 k& B5 X# o- N' C$ q7 r* }6 r! Y( _ - "args": {
7 C% K4 o, w1 m - "paths": [],
8 e; r C* Q+ @+ p2 E - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",1 O, [) P5 k# e& i A( l) ?
- "extensions":".*" //any file with extension$ R2 O0 j3 j1 n! j! n
- } },7 w- h, w) f' J( \- L$ [
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
8 O# P0 R! ^; P - "args": {8 m7 V, L; o# C" ~. Y! \9 K0 K) J
- "paths": [],
% w d9 f5 Z; _2 I4 g5 `! q9 V - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",/ K5 m7 Y6 x9 g
- "extensions":".*" //any file with extension
5 Q0 m: | {0 G& Y# b( _ - } . \6 L, C: v$ G
- }
, y) x, K0 W* e - 9 f$ y3 ~' J4 c9 f& m M( d* y( C5 ~
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
( y! o9 \6 ?' U7 q 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 X9 o# A& F/ A* R; D2 d
/ k4 i. q7 D$ C) W, U
5 n8 ~! Q7 I; I |