安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 , ]2 Z5 e8 }' r7 S
application : 路径要修改为自己默认安装的路径。% R4 S- ?+ C, u: H4 S( `5 d) j+ j7 ~( G
- [
8 T4 |# K% F6 o, d9 R1 \8 k - {"id": "side-bar-files-open-with",
3 l: c% i4 @2 W) y* f - "children":
: w! ~$ j' Q4 I" N2 s3 J - [4 c/ G1 h1 R' k0 T0 Q
- //application firefox' j' g2 x/ C; _9 H& ?
- {
7 p2 C9 J& H8 j7 C6 A8 w0 ] - "caption": "firefox",
) J( q' `/ z. ?( D& |* G - "id": "side-bar-files-open-with-firefox",: G" L9 W( m3 I7 U, U. ~- A
# K0 a7 [9 K* y7 v- p- "command": "side_bar_files_open_with",
/ T& m, }- i) T$ i6 F) I - "args": {/ T4 a# u0 ^% G% L. C6 D9 N4 Z, b
- "paths": [],# Q) V2 b. a+ i: c% x
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
9 X( d) K, Z2 j2 [7 X5 ]+ ^ - "extensions":".*" //any file with extension
9 q; u i/ p$ V! ?( U - }
) Z% `( }( k6 Y/ U$ Q( T6 C; Y - },3 x/ T" {, H( N
- ) _( K% K/ ^ U
- {"caption":"-"},
/ {1 r9 Q( z$ `5 |4 |8 v% u - {# R) N _8 h+ x) M7 Z
- "caption": "chrome",
" w& B& J: a0 }9 i: u- i - "id": "side-bar-files-open-with-chrome",8 s# q2 x7 H3 o) u- {$ j
- 0 J8 Y5 v7 `% T: `; Q* w
- "command": "side_bar_files_open_with",) }# V6 N! v8 L9 x' G/ v+ s
- "args": {( f! c+ m. z# A% Z
- "paths": [],* P* [( j: t- F z, f8 _& L
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
$ Q! K( d$ `! C+ M6 ^. v - "extensions":".*" //any file with extension2 g# a$ z! O0 g* P' L3 e8 O" H
- }
& C8 P# Z3 B+ c9 X - }5 c: M- _8 D/ W4 i. n
- ]% C, i: a; }* t0 H
- }8 R/ s" A [7 K8 u! \4 p7 j8 b5 _
- ]
复制代码 配置在IE中打开Key bindings -> User
4 n1 y7 K: N- y3 |0 [' S+ L) Q- [
h+ p$ A* |; l2 j5 E; ~4 g2 Q - { "keys": ["ctrl+shift+c"], "command": "copy_path" }," d. g8 E8 w' H' X) E% n6 e
- { "keys": ["alt+f12"], "command": "open_in_browser" },
( }/ `5 ?( L' @2 k. B0 R5 N3 H - { "keys": ["f12"], "command": "side_bar_files_open_with",% j& D e9 E) W4 }
- "args": {
+ v; K" A: i) K9 e* U$ C - "paths": [], n- |* v% G$ D, ~ M
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",7 D; {, ]$ i6 x: ]: a
- "extensions":".*" //any file with extension
$ s- V) H6 t+ ?% \; W6 K - } },
: @# g9 e3 Q: J: E. C4 \ - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",8 l' g/ T L! S0 c
- "args": {
( {- O: L& x+ E9 u2 W. ?; J) W - "paths": [],
$ H- \, P" g4 Q. ]- S - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",/ U/ n9 B0 p* K! Z& {* T
- "extensions":".*" //any file with extension# s1 m8 F" v0 q7 k& J, u* i' B
- }
9 Q4 L% h' ~! V - }
* ?! c! }4 y' Z1 H( ~2 q! h - + t* ~$ T9 o! F+ ] U# r1 U$ G
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。/ q( F# b- a" v: r, H: _: l7 c
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
6 v7 e: O; O+ ~$ t6 {& Y
: P% ~: U {1 a' Q- B2 l( K# C5 c% [% E9 W2 c8 C1 g# j2 X0 E
|