安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
9 U; C+ t; d" n" Q1 Japplication : 路径要修改为自己默认安装的路径。
3 b% p- [8 @+ s6 M2 A7 j* Z- [
' l6 L9 B2 C% Y" o6 D4 h - {"id": "side-bar-files-open-with",
$ I+ c M* ~; D) V4 q- E - "children":% E5 U: X3 V. R0 l
- [, q: ^# M% y( B, p% \0 R7 @& j
- //application firefox
2 B$ [3 d" [. V v - {
( g3 S- ]. R, T5 U8 x7 `" H5 B - "caption": "firefox",1 ], d: T/ K% v% B/ J
- "id": "side-bar-files-open-with-firefox",
4 g* @! F( W# r r8 f
, o5 ]: z' n1 P- "command": "side_bar_files_open_with",
" O; G$ }1 ?1 U. }* G. d* F1 n - "args": {
' x3 b! k! x4 G: v' Q# C2 | - "paths": [],5 I0 }/ u( I& ?$ P: q0 o# b4 s
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",$ r+ a8 g6 i# ?8 j$ Y' \8 ~
- "extensions":".*" //any file with extension9 Z% X* e8 z& I
- }
9 L4 N0 T) r( {- H% W& e - },( s% C$ P$ r! i, u: w$ |
- 5 T- v9 {1 N# a" q8 @
- {"caption":"-"},
2 t0 y3 V4 K% G/ r; g* S - {/ D7 R8 U2 P% m) I
- "caption": "chrome",
' B3 z4 }1 _: j7 }7 F* Q t3 p" q6 L - "id": "side-bar-files-open-with-chrome",; Q+ c; S/ h$ b3 M
" A' d F$ e( k: G9 w b- "command": "side_bar_files_open_with",! r; O) |+ N$ y
- "args": {+ l' `/ f1 J: `
- "paths": [],. y8 X. f( P. x- G9 b5 X7 P: r
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
`3 c8 q' I0 l - "extensions":".*" //any file with extension$ O7 | r6 c/ E1 Q9 P9 I8 U9 m& M2 Z( |+ E
- }8 E) I0 t, h$ t/ O' z
- }
# z+ f4 r7 p: j' c% w1 w - ]5 x/ Z, W, f* O" X) I
- }8 R% i( A t4 h% z; V& k
- ]
复制代码 配置在IE中打开Key bindings -> User
6 r) m" F X2 k" O$ ~4 ^- [: u, a9 m* _ u$ R1 W& T: U
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
% ?, K& {1 I) i" ] - { "keys": ["alt+f12"], "command": "open_in_browser" },
4 v N2 t) P/ n5 F% u; j - { "keys": ["f12"], "command": "side_bar_files_open_with",
6 z: Y. V! I1 ]: \' b7 | - "args": {
1 N" e+ }* \1 y" T+ W1 n' ~ - "paths": [],
& f, d5 ^. n1 ? - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
& ?9 H9 Q# H' `' U S+ l2 o - "extensions":".*" //any file with extension& G& E5 Q, Y' C) Z2 i }
- } },
! m# A" {7 O+ U2 Q; T1 r' ? - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",' h/ x! L, Y( G/ B$ r
- "args": {; q% m# L H3 m& k
- "paths": [],
7 F9 W5 E, c4 |- w- w+ H! n - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
" K4 k0 o7 q1 h/ f; @ - "extensions":".*" //any file with extension
+ b% I& a+ l0 `! ?2 T, G - }
" Z0 U3 n; I+ Y7 F8 T+ c' Z - }
0 y$ o+ {2 m, |0 e# w# ~ - + k2 d6 x n7 z, \" @
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。9 F3 g* J3 B5 y* M! l: `
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
+ I' m; g4 s, P5 i# }. b# K1 A! h8 O' _
8 k' I2 d K1 }- S7 z; [
|