|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 " Z8 U) Y* m* N3 W4 E
application : 路径要修改为自己默认安装的路径。; K3 N$ b( t1 Y: H2 a- H
- [; e# }& g; {6 ]7 e* ?3 |' i
- {"id": "side-bar-files-open-with",
" Z- p }( [4 ~9 N. P; h& R - "children":
1 M, Q: W9 M- A1 P8 u - [8 D4 Y+ H$ D) A8 N( d# `6 O
- //application firefox' F. D. h1 u# t
- {
9 S3 }+ n& a3 I - "caption": "firefox",- {3 l+ Q! ?1 G; h
- "id": "side-bar-files-open-with-firefox",
1 U7 [; u' i0 @3 l: D - ) I5 L8 V" _1 V2 V7 z) B& e
- "command": "side_bar_files_open_with",
; [! c( l8 O+ S - "args": {0 X0 Z$ _ ]; k! M' _7 H
- "paths": [],
% k2 ^$ K5 x1 v9 v. e - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",6 G, h1 T) H- ^! h4 f
- "extensions":".*" //any file with extension
) n% ]9 l3 ~2 w- o/ r - }3 b5 Y9 y" Y- s! X9 J
- },3 Z- q1 Q" a& C; C; M( k. c7 k
# j, m& Q8 v" V' ?5 v- J+ n- {"caption":"-"},
i" Y( w+ d; v+ C1 B& O - {
" k: X8 v; l5 G) }' z+ B - "caption": "chrome",' J% y3 a0 z! g& Z6 f" k' |1 S
- "id": "side-bar-files-open-with-chrome",
( [# k4 ]" ?( \) X- M
M5 i" g0 K3 I, O Z- "command": "side_bar_files_open_with",7 P9 n7 v9 F) @
- "args": {
9 g( Q4 {' p W( l& j- E - "paths": [],7 A* \2 [% {7 W: y
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",( L* a4 |4 w: A" w
- "extensions":".*" //any file with extension
7 x# }& P7 G8 j1 U/ }& M, _7 X - }! f& Z3 G8 Q7 d
- }/ ^- m/ g* j9 ^0 ?0 A2 F
- ]. }# U0 P1 \0 W4 Z+ y
- }9 [% |4 J; B8 E& ^9 b, X' ?
- ]
复制代码 配置在IE中打开Key bindings -> User
7 V4 L x6 @2 J! c- [
6 R7 B9 @8 p# @0 q1 z- e8 \ - { "keys": ["ctrl+shift+c"], "command": "copy_path" },6 h- |1 t/ v, K9 [+ y- F
- { "keys": ["alt+f12"], "command": "open_in_browser" },+ }* R( Q: t( w% A3 R
- { "keys": ["f12"], "command": "side_bar_files_open_with",7 R, d) U8 N2 h3 x
- "args": {
9 e3 L- ^ E- D& z - "paths": [],
6 ]0 z' A% J. K7 O ^+ L - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",7 z0 T' w3 p% \3 }1 g1 y: D
- "extensions":".*" //any file with extension
+ u+ J& T/ }4 _ - } },6 d- l1 G# @ v0 {
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
" v4 O8 w. Q; Q6 }2 g2 N - "args": {3 O" X- L3 i% h
- "paths": [],
: S* @5 N& G* ~) g7 @ - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
: A! {8 ^; R' Y8 p - "extensions":".*" //any file with extension! s% ~. e0 g$ }5 H- b
- }
0 W C! e4 _9 }: ]4 p - }
& J) I, @2 G6 P6 y" A, U - 0 D9 a. ]) R- y) ~" |
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
% k: A- S2 f# c$ G+ X6 p9 G 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 6 R2 i% J% d* Q* K' [; J; T
) o0 s# W" E+ x! k J' q: u+ f9 {
9 I2 V( y; i ^2 T. f0 y |
|