安装 SideBarEnhancements 然后通过ctrl + k, ctrl + b打开侧边栏,在侧边栏的文件中右击,找到 open width -> edit applications 然后在这里边设置firefox打开的方式。 8 G- d. m# k* x5 X- Q6 @
application : 路径要修改为自己默认安装的路径。/ Q. ?, h0 }+ S1 J
- [5 r+ v) u2 b% X% ]
- {"id": "side-bar-files-open-with",. ]& @, Q1 [* t& L& r/ d
- "children":% b. D1 h& I4 g, y) b
- [
. T9 T) `7 q" Z6 P - //application firefox
4 b6 ]. G \9 b3 t4 G - {( y) g3 m. j; F( A3 H" B
- "caption": "firefox",( i5 g/ s9 R2 z+ F+ {% f
- "id": "side-bar-files-open-with-firefox",
* Z5 ]9 ]9 u$ U0 E% p+ J
* U5 E: q4 A5 \. k1 G: m- "command": "side_bar_files_open_with",, e. U$ k* t' A6 D% H
- "args": {+ A5 ]/ D8 `, L% O6 h* }/ V
- "paths": [],
$ e: @8 y$ X c- K7 u" j j - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
5 J8 |2 O: j5 m* t - "extensions":".*" //any file with extension+ V+ k3 D' u o: ?9 P, ]
- }8 |" ~/ t1 |- p: U; U3 v5 q
- }, {2 \* H. ?, S0 V; X! u( V
- % m- `) Z* ]$ @
- {"caption":"-"},1 p5 N' g8 s* q+ l4 K! L
- { F/ e7 ?' O& e: h' K: p5 J
- "caption": "chrome",3 n9 ^" P) v" L: K
- "id": "side-bar-files-open-with-chrome",2 ?! s. ? ] M- w" \
- . Q9 U& K: C- S C1 f1 F& V
- "command": "side_bar_files_open_with",; L8 q) `7 F" B% L- z( N" t
- "args": {$ l: P! k* D# i$ R
- "paths": [],% o: O2 D: Z6 b5 l1 a
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",' O! I. l7 s$ Z3 K
- "extensions":".*" //any file with extension
9 z K! ?% V1 S5 ]- @ - }
; I- i; A0 n! o7 ?, R" J, Y - }
$ C% I5 v! R5 N7 K w) t - ]
# p( a" [- }3 ~- y0 T$ t; b" J - }
, w" M" g v( h: N$ m% K- q4 h# z/ k - ]
复制代码 配置在IE中打开Key bindings -> User
; d1 i, [' {2 t; f- [
' @6 ^8 |$ z ]! v - { "keys": ["ctrl+shift+c"], "command": "copy_path" },
% E9 e1 X( \- r% ^+ |, l - { "keys": ["alt+f12"], "command": "open_in_browser" },
- ]" ?$ Z) j- ?3 ~) z( D. D: O - { "keys": ["f12"], "command": "side_bar_files_open_with",
3 z% m. ~% u. ]/ s6 j+ }3 \ - "args": {* S9 X- T, Y9 @& k
- "paths": [],
1 D+ L& D" R9 N& a! ` - "application": "D:\\Program Files\\Mozilla Firefox\\firefox.exe",
/ C( O' S) p& g8 M" I% A - "extensions":".*" //any file with extension! x4 }1 y' J @# P. b3 C( o1 T7 ?
- } },
* g7 D6 S1 T" T4 O - { "keys": ["ctrl+f12"], "command": "side_bar_files_open_with",3 S G8 Q4 E" E9 E) \" L' _
- "args": {, `& ?) e0 l/ g: B* N; |
- "paths": [],* L* u/ M7 Y- V8 l& Q
- "application": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
1 k; E) o, }" J9 n) Y- C+ Q* U9 T - "extensions":".*" //any file with extension- b0 U8 u# N2 o. G- W/ T; f
- }
- i5 q5 @5 o4 D( P) `+ c2 n - } 9 M- p1 Z' D/ o4 G% m6 Y, B2 X
- 3 r# Q8 ^- X8 L0 l; @9 f
- ]
复制代码如果是其它浏览器,可以 ctrl+shift+c 路径,然后直接在地址栏粘贴。* K$ E: A# w* g( j) H- B' l( h) @2 X
这样就可以用这三个键在浏览中预览页面了: F12 : Firefox alt + F12 : IE ctrl + F12 : chrome 当然,你也可以配置,其它配置器用这样的方式预览。 0 o& P7 ^& A$ X' v3 ` V
7 m/ E: E9 X3 z; {) \! V: k6 w" ^% X% _0 p! ^4 f
|