安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 : P; I4 b3 L9 }& a7 @* W0 q
application : 路径要修改为自己默认安装的路径。
! R H8 U5 ~2 X$ C- [& n$ N: C6 g3 G
- {"id": "side-bar-files-open-with",
# l. E( f$ r9 h5 A+ ?) o6 u2 V - "children":: {9 `. s" G S" ^6 K# B' i; W: h
- [
% I4 i) E; l8 _ m2 W' x1 s) a - //application firefox
. ], a+ l+ m6 B4 Y% N2 Z1 n+ S: l - {9 D8 e" b3 I1 u- ?$ \/ m; i
- "caption": "firefox",. P( S1 r! Y. X
- "id": "side-bar-files-open-with-firefox",
" p9 [) a: o- y - - C; z3 B9 E/ ]2 Q! O
- "command": "side_bar_files_open_with",! b; q; Y8 j, O& Z+ ~! X; R
- "args": {# j( e7 b6 x$ R) v0 W. f6 h' o* l! ~
- "paths": [],- F9 `1 j* Z/ ]3 G3 G
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",8 |7 o, I$ e+ r$ U
- "extensions":".*" //any file with extension6 t+ b1 r" N6 o* u
- }
& X0 a! q9 Z' o) J2 y! T - },: [% n6 U7 o. J. y. }$ p0 d1 o
- ! w3 |( G Z% E- E1 o# A- \
- {"caption":"-"},4 c- g9 ]! T/ g
- {( a1 y$ U5 u8 }; ^- T
- "caption": "chrome",
* K" i6 z! L, \" c - "id": "side-bar-files-open-with-chrome",. k( l$ h5 e- I/ D) s% N
0 i* a0 w `) f; {! L+ o- "command": "side_bar_files_open_with",; j9 W' e! o9 z" i9 B
- "args": {& P3 R' | o8 t$ l$ i* J2 N
- "paths": [],( n" {, R: _, S# w9 F
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",& r4 i, T4 O% Q: I+ W& B
- "extensions":".*" //any file with extension- _/ Z- ^4 E/ ^" E0 B. F3 x! z0 Q
- }4 I5 z, n' |. f. O3 \* c8 S
- }
9 |. i0 Y6 i7 h, i - ]' ?+ _8 Q* L" H6 A
- }5 F; J, r9 O5 p1 Y& G
- ]
复制代码 配置在IE中打开Key bindings -> User
& r* F6 I7 U, K3 M) ~, E1 i' Q$ w- [# \- u; P/ M/ ]+ c) h. @+ E! Q
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
3 O2 n9 D& y% u! h5 q8 ? - { "keys": ["alt+f12"], "command": "open_in_browser" },4 {: H, N' u c
- { "keys": ["f12"], "command": "side_bar_files_open_with",
6 }/ e: v G! B6 ]. N B8 q7 J - "args": {
2 E% z$ I/ f0 [! G7 j. A - "paths": [],
* E6 g I2 `( {& ?6 X - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",3 k8 t. c7 ?, R& @
- "extensions":".*" //any file with extension& Q1 N- `0 d: o+ a8 u
- } },
2 z) Y$ d w3 o; e# ]! |; _# f - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",) P% f: v' B! ?* u0 X
- "args": {1 z" A0 D' U+ u7 J6 R
- "paths": [],
Y7 J. }& Y& U; T) E5 R! R3 \ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",, S- M% m7 p7 T, L
- "extensions":".*" //any file with extension! y* T0 [& i, b) T5 u8 l3 w
- }
8 w. r: ^$ T: I2 O" K; m - }
4 m5 h) g7 w2 e% Q5 G -
3 n1 ]4 e7 l. o4 m( _! {/ n - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。+ S$ v8 \% i/ j% Y4 S
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
0 r+ V4 k p G8 Q- T# K1 t8 _8 a6 w" C( t: ]" i! H
. [) A, L0 Q" d( G, h5 R8 f |