Firefox上的窗口分割扩展(以及Vimperator/Keysnail插件脚本)

巴蛮子 posted @ 2011年2月21日 10:14 in Firefox with tags firefox addons emacs vim geek , 7694 阅读

如果你用过Vim,就知道我们可以用:split 或者 :vsplit 把窗口分割成两个,每个窗口编辑/查看不同的文件,继续使用:split / :vsplit 可以继续分割。有时候需要对照着看一些内容的时候,这样的风格很方便(考虑到现在很多程序都抛弃了以前的MDI风格,而是采用了多标签页的风格,要参照一下另外一个标签页当中的内容,来回切换的话相当麻烦)。

Emacs 也有这样的功能,分别是用C-x 2和C-x 3来分割。

其实Firefox上也有一个扩展可以实现这样的功能:Split Browser (后来改名叫做Fox Splitter了,不过改名后好像没发过新版本),虽然最新的版本是20091105,但在新版本的Firefox上面仍然可以安装(该扩展标明是适用于3.0 - 3.7a1。Firefox 4上面我也没有测试过,但有另外一个叫做Tile Tabs的类似扩展声明是支持fx4的)。



如果你在用Keysnail,那么可以这部分代码拷贝到你的~/.keysnail.js里面去,然后你就可以象Emacs 那样来操作分割窗口了:(注意,按Emacs/Vim的术语,这里每个分割出来的部分都叫做window,跟Firefox 原本的Window不要混淆了——那个东西在Emacs里面叫做frame, 在Vim中好像没有对应的术语。而Emacs中又没有标签页的概念):

  • C-x 0   关闭当前窗口(delete-window)
  • C-x 1   关闭其它窗口(delete-other-window),即取消当前标签页内所有分割
  • C-x 2   纵向分割(split-window-vertically)
  • C-x 3   横向分割(split-window-horizontally)
  • C-x o   激活下一个窗口(other-window)
  • C-x k   关闭当前窗口或者标签页

如果你在用Vimperator,那么插件在这里[splitBrowser.js] ,下载后放到~/vimperator/plugin/目录。除了支持:split/:vsplit,它也支持<C-w><C-w>, <C-w><C-v>等快捷键。(Pentadactyl上没测试过,考虑到现在它跟Vimperator越来越不兼容,可能需要对脚本修改一下,这既然是爱折腾的vim粉丝,应该难不倒诸位:-)

另: FoxSpliter的源代码在这里: https://github.com/piroor/foxsplitter 有兴趣的可以下载一下最新的代码


Technorati 标签: , , ,

Pentadactyl

 

Searching...

Avatar_small
seo service london 说:
2023年12月09日 22:39

Good post but I was wondering if you could write a litte more on this subject? I’d be very thankful if you could elaborate a little bit further. Appreciate it

Avatar_small
로켓도메인 说:
2024年1月09日 13:49

That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally

Avatar_small
키톤 가입코드 说:
2024年1月09日 14:02

I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit

Avatar_small
사설토토 说:
2024年1月09日 14:12

That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more

Avatar_small
먹튀폴리스 검증업체 说:
2024年1月09日 14:31

Awesome Website. Keep up the good work.

Avatar_small
토토사이트 说:
2024年1月09日 14:33

I think that thanks for the valuabe information and insights you have so provided here. 

Avatar_small
키노사다리게임 说:
2024年1月09日 14:42

I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website.

Avatar_small
제왕카지노주소 说:
2024年1月09日 14:43

I think that thanks for the valuabe information and insights you have so provided here. 

Avatar_small
먹튀스팟보증업체 说:
2024年1月09日 14:58

Awesome Website. Keep up the good work.

Avatar_small
안전놀이터 说:
2024年1月09日 15:17

I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website.

Avatar_small
메이저놀이터모음 说:
2024年1月09日 15:29

That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more

Avatar_small
먹튀검증업체 说:
2024年1月09日 15:31

Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information 

Avatar_small
안전놀이터추천 说:
2024年1月09日 15:42

I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one 

Avatar_small
파워볼사이트 说:
2024年1月09日 15:48

I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one 

Avatar_small
메이저놀이터 说:
2024年1月09日 15:54

Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information 

Avatar_small
먹튀검증업체 说:
2024年1月09日 15:56

I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post

Avatar_small
토토사이트 说:
2024年1月09日 16:03

I’m happy I located this blog! From time to time, students want to cognitive the keys of productive literary essays composing. Your first-class knowledge about this good post can become a proper basis for such people. nice one 

Avatar_small
토토매거진 说:
2024年1月09日 16:15

Thanks for every other informative site. The place else may just I get that kind of information written in such an ideal means? I have a venture that I’m just now operating on, and I have been on the look out for such information 

Avatar_small
주간토토 说:
2024年1月09日 16:26

I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post

Avatar_small
토토커뮤니티추천 说:
2024年1月09日 16:28

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that 

Avatar_small
안전놀이터 说:
2024年1月09日 16:32

Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info

Avatar_small
먹튀검증업체 说:
2024年1月09日 16:40

On that website page, you'll see your description, why not read through this 

Avatar_small
토토어택보증업체 说:
2024年1月09日 16:48

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that 

Avatar_small
먹튀대피소 说:
2024年1月09日 17:04

Admiring the time and effort you put into your blog and detailed information you offer!.

Avatar_small
안전공원주소 说:
2024年1月09日 17:21

I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.

Avatar_small
먹튀사이트 说:
2024年1月09日 17:26

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that 

Avatar_small
안전한온라인카지노 说:
2024年1月09日 17:58

I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.

Avatar_small
클레오카지노쿠폰 说:
2024年1月09日 18:39

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post

Avatar_small
사설 먹튀검증 说:
2024年1月09日 18:53

It is an excellent blog, I have ever seen. I found all the material on this blog utmost unique and well written. And, I have decided to visit it again and again

Avatar_small
บาคาร่าออนไลน์ 说:
2024年1月09日 19:01

That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally

Avatar_small
파워볼사이트 说:
2024年1月09日 19:09

It is an excellent blog, I have ever seen. I found all the material on this blog utmost unique and well written. And, I have decided to visit it again and again

Avatar_small
메이저사이트 说:
2024年1月09日 19:19

That appears to be excellent however i am still not too sure that I like it. At any rate will look far more into it and decide personally

Avatar_small
먹튀신고 说:
2024年1月09日 19:29

I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit

Avatar_small
메이저카지노사이트 说:
2024年1月09日 19:44

Awesome Website. Keep up the good work.

Avatar_small
카지노 먹튀신고 说:
2024年1月09日 19:57

I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website.

Avatar_small
먹튀지키미 说:
2024年1月09日 20:08

Awesome Website. Keep up the good work.

Avatar_small
토토사이트추천 说:
2024年1月21日 14:45

wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated.

Avatar_small
바카라사이트 说:
2024年1月21日 17:04

Hey! I know this is kind of off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having problems finding one? Thanks a lot!

Avatar_small
카지노 커뮤니티 说:
2024年1月21日 17:20

 definitely enjoying every little bit of it. It is a great website and nice share. I want to thank you. Good job! You guys do a great blog, and have some great contents. Keep up the good work

Avatar_small
먹튀검증 说:
2024年1月21日 17:56

Wow, cool post. I'd like to write like this too - taking time and real hard work to make a great article... but I put things off too much and never seem to get started. Thanks though.

Avatar_small
바카라 사이트 说:
2024年1月21日 18:45

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subjec

Avatar_small
카지노 커뮤니티 说:
2024年1月21日 19:03

Thanks so much for the blog post.Really thank you! Much obliged

Avatar_small
꽁머니 说:
2024年1月21日 19:37

Appreciate it! A good amount of stuff.

Avatar_small
카지노사이트추천 说:
2024年1月21日 20:50

Thanks, that was a really cool read

Avatar_small
industrial outdoor s 说:
2024年1月21日 21:25

I favor the idea, such a good deal

Avatar_small
카지노커뮤니티 说:
2024年1月22日 14:11

I favor the idea, such a good deal

Avatar_small
소액결제현금화 说:
2024年1月22日 14:41

Thank you so much for sharing these amazing tips. I must say you are an incredible writer, I love the way that you describe the things. Please keep sharing

Avatar_small
고화질스포츠중계 说:
2024年1月22日 15:16

Thank you for taking the time to publish this information very useful!

Avatar_small
카지노사이트 说:
2024年1月22日 15:53

Very good post.Really looking forward to read more. Really Great.

Avatar_small
카지노사이트 说:
2024年1月24日 16:43

This is exactly for that reason fabulous and additionally extremely creative. I simply absolutely love all the different shades and additionally anyone can get the software on the deliver would be happy.

Avatar_small
카지노 说:
2024年1月24日 18:19

hay you there you must hire my dating service which you can book there.

Avatar_small
토토검증사이트 说:
2024年1月24日 19:56

I have been exploring for a little bit for any high-quality articles or blog posts in this kind of space . Exploring in Yahoo I ultimately stumbled upon this site. Reading this information So i’m satisfied to show that I’ve a very just right uncanny feeling I found out just what I needed. I such a lot indisputably will make certain to do not forget this web site and give it a glance a continuing

Avatar_small
바카라 说:
2024年1月26日 14:50

바카라 바카라사이트 우리카지노 카지노는 바카라, 블랙잭, 룰렛 및 슬롯 등 다양한 게임을 즐기실 수 있는 공간입니다. 게임에서 승리하면 큰 환호와 함께 많은 당첨금을 받을 수 있고, 패배하면 아쉬움과 실망을 느끼게 됩니다.

Avatar_small
하노이 가라오케 说:
2024年1月26日 14:55

하노이 꼭 가봐야 할 베스트 업소 추천 안내 및 예약, 하노이 밤문화 에 대해서 정리해 드립니다. 하노이 가라오케, 하노이 마사지, 하노이 풍선바, 하노이 밤문화를 제대로 즐기시기 바랍니다. 하노이 밤문화 베스트 업소 요약 베스트 업소 추천 및 정리.

Avatar_small
안전놀이터 说:
2024年1月29日 12:51

No.1 먹튀검증 사이트, 먹튀사이트, 검증사이트, 토토사이트, 안전사이트, 메이저사이트, 안전놀이터 정보를 제공하고 있습니다. 먹튀해방으로 여러분들의 자산을 지켜 드리겠습니다. 먹튀검증 전문 커뮤니티 먹튀클린만 믿으세요!!

Avatar_small
베트남 밤문화 说:
2024年1月29日 14:13

베트남 남성전용 커뮤니티❣️ 베트남 하이에나 에서 베트남 밤문화를 추천하여 드립니다. 베트남 가라오케, 베트남 VIP마사지, 베트남 이발관, 베트남 황제투어 남자라면 꼭 한번은 경험 해 봐야할 화끈한 밤문화로 모시겠습니다.

Avatar_small
블록체인개발 说:
2024年4月24日 14:27

블록체인개발 코인지갑개발 IT컨설팅 메스브레인팀이 항상 당신을 도울 준비가 되어 있습니다. 우리는 마음으로 가치를 창조한다는 철학을 바탕으로 일하며, 들인 노력과 시간에 부흥하는 가치만을 받습니다. 고객이 만족하지 않으면 기꺼이 환불해 드립니다.
https://xn--539awa204jj6kpxc0yl.kr/

Avatar_small
IT technology 说:
2024年6月03日 16:23

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/

Avatar_small
IT technology 说:
2024年6月08日 11:41

The tech-original mission is to help you better understand technology, and make better decisions in the fields of IT, Tech, and Crypto.
https://www.tech-original.com/


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter