安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
& _( D+ J$ m/ h. `7 f0 J* aapplication : 路径要修改为自己默认安装的路径。
3 M7 n( d8 r, g0 a2 f( Y9 k9 W; t2 h: W- [7 w& C, s( [2 R5 F( J. N) o
- {"id": "side-bar-files-open-with",! y. E0 K* N3 _
- "children":1 z. G! X! q; I
- [
' A/ D. e# D! ~ - //application firefox! u( f& Y2 y5 s; k6 F, |; A
- {5 D9 `8 w& j2 R
- "caption": "firefox",
8 P- {0 f% \, z/ Z6 M1 i - "id": "side-bar-files-open-with-firefox",1 R+ n8 [2 I1 ?1 r& w
$ \4 i! E& w. Q: c; T- "command": "side_bar_files_open_with",
8 o9 d1 W6 w/ ]# V+ ]' X4 U/ y3 S9 m' o - "args": {' k# x# ^9 X# e" c
- "paths": [],/ p" o4 M! c% A8 w! Z7 F3 Q$ J
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",0 [: H j& q# S7 w) b
- "extensions":".*" //any file with extension' H4 ~2 [% j" J! \$ t9 x% ^; W
- }
1 }$ M, \( ?, v8 \+ O4 K6 E - },- ?- {% e6 v, ]+ t _! L
, d8 @! x4 t; n+ u/ N2 L- {"caption":"-"},; t7 v8 L5 N! z/ j
- {" b) b, E9 Y4 P x0 ?( a
- "caption": "chrome",3 c; S& U& |( ~- N% \+ r ^) `% ?
- "id": "side-bar-files-open-with-chrome",( i9 v8 o9 V1 P
' K2 S$ I3 i: ~6 @) @+ q; u- "command": "side_bar_files_open_with",
9 F" e- N& K* X" N. c+ H+ b) g4 \7 \ - "args": {+ S6 c5 Q2 B! O3 s2 G2 }
- "paths": [],0 _- q) {( }6 z) A; Y9 m4 @9 W
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
3 @( }/ q5 o: [( u - "extensions":".*" //any file with extension" n( t/ ~. ~0 C+ D2 P% r
- }" W+ f# N5 C$ B c" H
- }
/ f/ l: l, x, \( D0 l - ]: o$ {* v. ]* C5 \
- }5 S7 r+ O% W/ R1 b/ G# B$ c
- ]
复制代码 配置在IE中打开Key bindings -> User! Z, W r8 v( f7 r) i
- [9 u) c7 F$ @" G W t) P
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },4 M! t) a' A- O- P. E4 o7 `, @
- { "keys": ["alt+f12"], "command": "open_in_browser" },
8 X. Y$ X, B- q( @3 {; T" P - { "keys": ["f12"], "command": "side_bar_files_open_with",
% V( l. } r: {! r o$ l - "args": {
1 Y4 X6 ^; u6 x - "paths": [],
& S8 `( I) \ E - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
; `* v) f: I+ c/ t9 ~/ N - "extensions":".*" //any file with extension
* I s; o7 i4 H0 v, p - } },
, v0 ^( P5 @2 e - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
3 M" j* K- j4 m* ?3 |, C" R - "args": {0 Z4 d3 l" ]1 K- \
- "paths": [],# x) k7 A: ]5 T/ ^: a8 V" X
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
$ H9 R3 ^, X/ h - "extensions":".*" //any file with extension
. Q8 x! g9 i* S+ e& g1 Y0 H - }
- Z$ h* h0 @" k - } . ], z, q, ~3 {+ @3 F9 ^
- ! n! C( \8 H+ O& g% x* y% t+ N
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
% W. L7 ~3 `' b \: S 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
# L$ r+ x, q* k. A; Q
1 T$ s0 x$ o/ F, j, |. \3 |9 L- ?6 v3 G$ d
|