安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。
% L+ o" ^. m6 U6 gapplication : 路径要修改为自己默认安装的路径。" a0 l2 w, ~ A6 O
- [, p9 V: O S9 i: m9 X( m- l
- {"id": "side-bar-files-open-with",
6 @5 s3 M$ v3 |( j! z# T' z - "children":
; M* T8 Q) V; I; `# l6 ^8 T: p - [
4 d1 c3 g" @% X- t% d - //application firefox! a# b( R. W& [% B$ e. k1 [3 s9 _
- {
" J4 `: g8 p* E5 L - "caption": "firefox",
5 b1 q) ^) \5 B E9 d4 L - "id": "side-bar-files-open-with-firefox",! K5 t2 Y( F1 m1 u V0 @
/ }# d; `) e3 C. |7 f- "command": "side_bar_files_open_with",
& _/ u( m; c2 p, W- P! ^" r" [ - "args": {
$ ~' j1 Z! y6 D3 ` - "paths": [],
- t; {3 `0 f2 O. w* W - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
n0 d/ ^& P5 u* T" g2 C - "extensions":".*" //any file with extension) z- V6 ~6 e) I0 B! ^; Y2 I u
- }0 l# n% M+ d6 B G. j1 J! h
- },
( i& a" r8 O7 K; j; t: _
. r! w2 f( U/ M+ c$ q( @' E- {"caption":"-"},. U1 C) `/ B% {/ W$ F
- {
- h& W4 E9 B1 S( \0 {' `& K8 _ - "caption": "chrome",
/ |2 s' @$ f+ ~) X - "id": "side-bar-files-open-with-chrome",3 ^0 r7 [# z7 _# ?' R3 a
- * z0 x& z8 [% O& f" N8 \
- "command": "side_bar_files_open_with",: C$ X$ C7 }9 w, b/ N
- "args": { |4 m1 P+ G- L p
- "paths": [],4 P; k, S c) X0 H
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",3 ?7 s) s+ i) v
- "extensions":".*" //any file with extension
. m1 g8 k& b4 K" B5 L1 d - }3 H5 `" j. n& ~' ^, ~2 G4 X
- }
2 H0 ]* c& b! H, z. M. e5 E - ]
/ @' m' K6 n7 Q7 }2 c' v1 x9 W; o - }' U+ V, P5 b [& n4 Z
- ]
复制代码 配置在IE中打开Key bindings -> User, Y% W/ B0 T1 b
- [2 P1 z7 e+ J; v X; k6 C+ ^* ^0 j
- { "keys": ["ctrl+shift+c"], "command": "copy_path" },
, B1 x% N8 a- p - { "keys": ["alt+f12"], "command": "open_in_browser" },
. l; E7 L* E, ?9 y, U: B - { "keys": ["f12"], "command": "side_bar_files_open_with",& B9 j c3 ^4 e( b. e1 F
- "args": {
3 |# k5 g' F. z* y! D - "paths": [],/ m, J% C- v) ^% c4 o! w) U
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
+ l$ l4 H+ j/ G+ p - "extensions":".*" //any file with extension1 x, q# C" Z7 e1 w S2 [2 Z
- } },7 Z6 Y0 j( l, W7 Z; `) h
- { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",4 \5 F1 V) }+ ~: _$ ~4 K- O
- "args": { J' k8 x* E. v- H0 w/ X
- "paths": [],5 c" S2 {6 B$ z' K, ^; O" a
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",. ?6 y. n5 F7 `7 v9 U6 e
- "extensions":".*" //any file with extension
; ~9 u l1 y# u' r+ W - }
+ n' [- a) Q9 |* s1 g l% g - } ( ^9 @1 u/ C/ M+ O8 T" g* D# T
- 7 }5 W: p8 U" u/ Y7 f! Z) n# S4 t
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。
6 _3 x- k/ R* R& A 这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
6 x% n* _3 F: w
# `# f/ j6 y! q9 e: q% w' o/ g0 l$ Z& D9 z, Y3 F3 N
|