安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 4 u; D7 v0 E; F( `, i. z0 o
application : 路径要修改为自己默认安装的路径。' m, \# V9 A8 `
- [9 c, B N0 {/ d5 [0 L* {% X" L
- {"id": "side-bar-files-open-with",5 u G3 |0 r+ N8 H. P+ u
- "children":
- E9 l; _ W( k6 V* u- d% [$ k) h - [2 S0 N. W; E, J6 `6 e: Y
- //application firefox
, M3 a8 ~9 F! d& s4 k& s( q - {
& ^' |6 n* O# n$ z) s4 S5 W3 U* v - "caption": "firefox",! ~! y# G6 [$ ` T
- "id": "side-bar-files-open-with-firefox",) {2 z( Q( v/ x+ j# E. M
- 6 J6 W8 g9 `, K3 g/ a$ a
- "command": "side_bar_files_open_with",$ H/ h/ j' h. [0 X. i6 ^- m* U
- "args": {$ {5 P) }+ m& l) O
- "paths": [],0 q1 C9 |8 p4 @3 Y! B. T
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
1 h" D" W# x3 k6 h J$ c$ H - "extensions":".*" //any file with extension$ Q$ {0 {' D: Z1 _
- }
; s1 s6 m; J, p% W7 H K - },( T* ^2 |; f% _' f9 U1 W
. b, o2 b$ C: v& A9 ]5 m- {"caption":"-"},
( i/ Y9 ?: k2 }' B2 ] |8 j - {
( B* ~1 l% N1 F8 I" O7 @ - "caption": "chrome",
" ?) O% c: A) Q" D - "id": "side-bar-files-open-with-chrome",
0 t( L) y- D# V6 _
; R* t9 s/ S6 A9 u1 U2 @/ L- "command": "side_bar_files_open_with",3 w1 y: Z# C0 C
- "args": {
0 Y8 ], J! }! ` Z$ a, {. ?( [( { - "paths": [],& V* n+ L* }& R: u5 K3 y, N
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
9 _$ i8 X; r3 D$ y' [ - "extensions":".*" //any file with extension$ x( Y4 D8 w J" J: i
- }, z6 q0 m8 o6 m
- }
' s! ]3 M5 j/ {; w% [, |: F9 F - ]' Q' G- R+ s" R* o
- }% i) {5 p0 B9 ^. P& j' A" \3 q
- ]
复制代码 配置在IE中打开Key bindings -> User
% W T+ F! r1 \6 N$ b+ J) W- [
/ y$ y7 M, |7 k9 Y9 ~7 O3 f - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
2 V/ N4 p3 l- N5 n- q/ i - { "keys": ["alt+f12"], "command": "open_in_browser" },
" P, y. R i. ]/ I1 N; w% T# ` - { "keys": ["f12"], "command": "side_bar_files_open_with",( h2 Y% R1 i; f" C* V- f! W. s) }
- "args": {
; f4 V0 D5 m0 @) ^1 e- S( i - "paths": [],; L1 ^: q, T! }* O+ t
- "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",* L8 [1 d/ B5 g3 p
- "extensions":".*" //any file with extension% j% V6 T! h6 h7 x- x( k% y
- } },
. P, Q: ^7 D1 }1 s- ? - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",4 L/ W. E0 S F5 v, \
- "args": {% F; H" S# B8 D# |! B: {/ K
- "paths": [],
& s0 A5 f8 J' U) I - "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
% ^" x8 _# u* B% o - "extensions":".*" //any file with extension
& a# r( h. ]/ f5 X2 ?' M# H - } 6 w7 ~/ t; w5 A! `9 n( s, _
- } 9 R( I8 [# P. n( o3 q. _+ p' B
-
" \, \/ ^" w9 p& v: q - ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。4 k( o, f) r0 T
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。
X+ q/ \7 I. Q, ^* d8 }: Q3 f
: k9 m" {4 ~5 C; a2 a) Q1 `% B9 U% e9 G* ]3 T' I
|