|
发表于 2015-8-24 17:05:16
|
显示全部楼层
安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
% D5 |4 E' ^$ F/ m0 S) X) D+ H) B: xapplication : 路径要修改为自己默认安装的路径。4 D2 w& v7 G- v- {- G6 N
- [0 |% i2 `& E; c; N" V
- {"id": "side-bar-files-open-with",
/ ?+ r- k( x8 S# \- G" \ - "children":
8 N8 Q$ J O! B9 F( Z" D X- e" z - [
% B6 m% U- ~, G& \5 c/ x: z - //application firefox% y# _# o* N) t1 O& C' f
- {
, b. }. ^( }8 `4 {3 | - "caption": "firefox",& Q8 w8 v9 {0 l3 i; J, f
- "id": "side-bar-files-open-with-firefox",
1 Z( W- p s& @1 ?- u
! ^% e0 u' a9 }& k- "command": "side_bar_files_open_with",
" }! R% c- k ~& b% G) W' d - "args": {
! J+ C2 _$ E* B7 n - "paths": [],
. E' e) o u- c5 ]5 @; u - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
" Y0 E, f+ }- Q, W - "extensions":".*" //any file with extension
" ~( V4 @9 ]8 T( q! n! H+ m5 ~2 S+ w - }5 [. C( s" a" g" N5 o8 g# \( ?
- },
* T2 s0 B4 W/ ^7 e! |( t2 q - + Q7 I( X, U3 m7 m* i; Z+ n, h1 G
- {"caption":"-"},$ r" Z8 c8 V6 G4 l; L! Y0 ]0 Q6 V
- {
B5 G, ~* r/ C. s! i - "caption": "chrome",
I& q! L3 ] K3 w$ p& O' J! H - "id": "side-bar-files-open-with-chrome",8 }- z3 h" U& ~# V6 o0 |! g( E* T
- : c0 j& l& z N! \, C
- "command": "side_bar_files_open_with",
? \* I$ w( j2 S+ i7 m$ H4 Y - "args": {7 z% s: f- h$ R7 l! N7 q. ]
- "paths": [],6 x1 h0 Y$ \$ Y- y
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
, k1 J0 G' W0 a& L6 C - "extensions":".*" //any file with extension1 j5 @ T6 t* T2 v9 K5 C/ j: l
- }
6 x" v" I" d+ Q. T; l1 w6 }4 v - }
" v% ~6 u/ T+ s- Y - ]
0 z- N7 j" S* c2 W& j3 j8 } - }
' E+ \* e; n9 i% i! U - ]
复制代码 配置在IE中打开Key bindings -> User3 u- \# o$ d- R. z L
- [
/ P: V% }% Z3 B. }: \0 E: { - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
$ ]! [6 f0 _9 u J2 j. H3 @$ U - { "keys": ["alt+f12"], "command": "open_in_browser" },1 X; E7 |* H- D5 |* F, f; N
- { "keys": ["f12"], "command": "side_bar_files_open_with",
; l5 O" J U H+ C - "args": {+ w7 J8 w4 ]4 L( h/ s4 @
- "paths": [],6 b* i$ p" W4 E) m0 [
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",1 [+ K7 u; }" z5 Z
- "extensions":".*" //any file with extension9 e Y. \! W0 n$ [3 A3 {0 b
- } },
" k/ J1 G" p* R+ D - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",
; M5 F0 g8 G) f' Q( I8 d3 o - "args": {
: w1 f$ h0 R: ~ - "paths": [],
* p) \. z- t# g! d3 m0 X - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",+ l# G" B7 d' b7 S2 \1 I
- "extensions":".*" //any file with extension
4 u C- X Z% i8 s% T - } " t) s, I9 x1 e* r6 l6 F
- }
# {9 X6 U/ F( _8 F0 E -
! ?; I* u- e/ n: Z* a. g& _3 _ - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。0 o9 O7 C7 Y) k
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
% b4 Y" l! G! g8 C$ U0 a
' C( _7 o; c6 X! q( N- n* Y( {. |; s4 b" x s( `( T- r x
|
|