安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
+ T% ^- K- \) M' @8 i# happlication : 路径要修改为自己默认安装的路径。
* {1 S! F% q7 [( h6 N% G. t4 {1 Y0 t- [, h, |5 v- K; n
- {"id": "side-bar-files-open-with",7 Q2 C% Z1 w+ @$ O! H, j: L; O5 a
- "children":* e! o) r0 w0 t+ O/ q
- [! a1 j( {& P+ e1 k5 F h @
- //application firefox, v5 U, n) ^7 s7 O/ @
- {
/ P, D0 u0 ^% e9 ] |, z - "caption": "firefox",+ m' {" P7 }/ f; o+ l- E) J; e
- "id": "side-bar-files-open-with-firefox",8 ~3 N) t& V8 B' h' V# z
% i$ g5 B2 f5 _- "command": "side_bar_files_open_with",
( K' q0 P ~0 J$ I5 |6 T! D - "args": {5 \1 q. G9 |( e, m
- "paths": [],
+ E9 }4 a, ?/ B1 ?# y - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",) s! l8 N9 E# O' L
- "extensions":".*" //any file with extension
8 L2 W7 K8 E. B! l" ]6 K% X6 x2 c - }! N, p* |! W+ V5 J& N) P
- },
; O# B" {8 r" L H+ T - & l% O1 ]) K5 u6 ], |
- {"caption":"-"},4 E7 {, m2 }% L: n5 f& `3 x
- {$ J6 F* @2 a$ H2 e
- "caption": "chrome",! o! o6 C& I1 K @! w7 B! Z6 s, t9 t
- "id": "side-bar-files-open-with-chrome",& R: q7 m1 d% {" c5 u( P
1 H! ^8 ?& }4 g- "command": "side_bar_files_open_with",
- g* a5 _# q0 a" [& i) ` - "args": { j+ d0 |* P; S, x; _
- "paths": [],+ {9 k# R# {; k* q7 g W
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
# G9 j% N& {: ^2 Q; s5 F - "extensions":".*" //any file with extension
) ^0 E* @1 ?" j3 T/ A' U - }9 d( {1 k) ^- X
- }
' c& L1 l) ]8 Z* z% P9 | - ]
" E/ c5 @3 x; P2 f! u# P( O - }2 U' g+ }2 X6 K3 Q2 G* g
- ]
复制代码 配置在IE中打开Key bindings -> User O5 {& b" m7 s' Z/ C
- [
6 T/ \/ W- n2 ^: |: R; s3 b - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
9 h; d' C! J% H5 d - { "keys": ["alt+f12"], "command": "open_in_browser" },8 u7 r! g0 f2 x
- { "keys": ["f12"], "command": "side_bar_files_open_with",- U7 W# }. I3 ~3 @ X0 F& \ f
- "args": {
: G( h$ f. D2 G0 q1 C0 P - "paths": [],& y8 c- ^* z I+ O- J
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",3 I7 t; K0 d$ q; h
- "extensions":".*" //any file with extension" }5 f5 ]5 B% ~: E0 a( O
- } },
; | p" N% s1 L. e# } - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
0 g' \/ k7 G1 X3 u- I# q - "args": { X F0 T: [4 h$ D8 E* e
- "paths": [],
6 j4 V) S" B1 c* [ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",4 _) H. T1 s. S; {' B4 e/ N; T
- "extensions":".*" //any file with extension
- H6 P8 e" }2 E( c0 [* D) f/ m - }
7 E- B$ f1 O g - } " X$ e! U' l6 c1 T& \. z; q
-
* a4 _6 X" J' G# P4 _+ K4 D: H - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。0 g4 s8 Q5 H3 P6 U/ N
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 ; x- w, J; ^! b+ z( {
# q) y' m6 X2 V# x4 W" H! N
3 ?# a0 N) A+ m. E$ Z" A
|