安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
_% k' C" ]; {3 x5 b' Napplication : 路径要修改为自己默认安装的路径。9 R: H6 \: m$ N8 {- H. S
- [; Z! q4 w# `$ y4 w
- {"id": "side-bar-files-open-with",
7 I; p" |3 x. t) g - "children":* ~6 ?6 w& ^- n m
- [1 A/ x5 r k' ?/ R$ w, Z9 E
- //application firefox% G/ }8 N* ~* |2 U! I
- {* W) K, q' u! A" T7 R9 L
- "caption": "firefox",
9 z& [! v. r. I5 v2 t - "id": "side-bar-files-open-with-firefox",
' m5 ~8 n+ e/ F# {. t; x6 H
3 h# |4 Q2 ~+ W0 g- "command": "side_bar_files_open_with",
1 g4 Q) q+ [5 U- q. {. q1 F C - "args": {. l6 w* V4 I J4 ?/ A+ e
- "paths": [],
' t B$ r$ }' m& v - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",7 ^! l: u( G/ B7 h( r+ W
- "extensions":".*" //any file with extension
) y9 {) B" z5 S& e4 ~ - }
1 Z& R2 P% l8 w5 L# D - },
+ n2 M- F4 h* h6 F) U4 w - * |3 q2 E: }( j) e, B' Q
- {"caption":"-"},
3 q+ T3 }" ^/ f# x B6 ] - {
6 ?' k) ^* s0 W2 l5 S - "caption": "chrome",: s ]7 ?# b% J( E
- "id": "side-bar-files-open-with-chrome",
0 n! U3 y, |$ x6 o, E6 j, y3 a% W - + H$ M9 c+ d/ N q- K; |3 b/ i- f
- "command": "side_bar_files_open_with",# N- U8 O$ l" E' @& Z
- "args": {; p% T, u8 h! G
- "paths": [],+ D% [2 X: \8 ?+ J, y7 o7 z
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
* K j# w! I9 G/ B; p - "extensions":".*" //any file with extension
( B& L- K; P# g" o# W* h6 ? - }
8 c1 O7 L- G1 u+ l! f4 J6 T8 C. r6 r. K - }* h9 x8 E; M7 s# C
- ]
, p" {9 W1 k, g - }
- c( {: t7 A# [+ v* m - ]
复制代码 配置在IE中打开Key bindings -> User
1 B$ C1 u% D# ?) g& t2 t/ G% G- [
2 H& k/ u; [; T9 ~ - { "keys": ["ctrl+shift+c"], "command": "copy_path" },- ]4 H3 W9 |# ?- ~: O& q
- { "keys": ["alt+f12"], "command": "open_in_browser" },3 y( x. H2 a @+ [6 w
- { "keys": ["f12"], "command": "side_bar_files_open_with",
. J" O7 ~8 B0 t0 |7 T2 E - "args": {
) @' }- f/ I7 [8 K# V7 _% G - "paths": [],
! N' |6 U$ z, `! D - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",* ~+ D2 Z8 ]+ w4 S6 c, }
- "extensions":".*" //any file with extension z0 |$ T5 F5 T0 W( w1 N' ~8 W4 ^8 f
- } },( q( h4 D7 [4 M A
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",( u) ]" G$ k5 f2 ^5 @ V5 O+ r
- "args": {; c! ~, Z3 q! p1 h x1 A. I
- "paths": [],$ J- p+ `1 M' z
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",) h: ~# r% a. d; T; g5 m4 K
- "extensions":".*" //any file with extension
% y- V* d% J* ` v" |) w - } + A$ o- f8 j! p; Q# e
- } 5 m0 x3 O5 C7 x& H5 L6 f- r! ^) U
- - t7 i8 Z0 a" g9 ^
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。+ S1 s3 |1 J R: N- @# M! f
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
! l4 g7 m5 @9 b+ ]7 G4 t; A4 w' |2 \* @
5 }0 [% }: a7 P |