12.04中有没有人用firefox的插件vimperator?

Vim、Emacs配置和使用
回复
头像
noble_out
帖子: 150
注册时间: 2012-04-20 15:58
系统: ubuntu12.04+windows8
来自: 中华人民共和国
联系:

12.04中有没有人用firefox的插件vimperator?

#1

帖子 noble_out » 2012-05-06 16:46

CTRL+H
CTRL+W
不好使了,我想哭……
头像
reverland
帖子: 1317
注册时间: 2011-11-26 15:57
系统: windows xp
联系:

Re: 12.04中有没有人用firefox的插件vimperator?

#2

帖子 reverland » 2012-05-07 9:20

只是vim的操作方式,虽然喜欢vim的操作方式,但不喜欢这样用浏览器
托在github上的jekyll博客
Always Look on the Bright Side of Life
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 12.04中有没有人用firefox的插件vimperator?

#3

帖子 eexpress » 2012-05-07 9:42

reverland 写了:只是vim的操作方式,虽然喜欢vim的操作方式,但不喜欢这样用浏览器
是蛋疼。

虽然你可以在opera定义全套的热键。
可浏览器的设计思路,一直是以鼠标为主的。
● 鸣学
头像
reverland
帖子: 1317
注册时间: 2011-11-26 15:57
系统: windows xp
联系:

Re: 12.04中有没有人用firefox的插件vimperator?

#4

帖子 reverland » 2012-05-07 12:50

:em70 神说的是
托在github上的jekyll博客
Always Look on the Bright Side of Life
alanfly
帖子: 334
注册时间: 2007-12-19 16:15

Re: 12.04中有没有人用firefox的插件vimperator?

#5

帖子 alanfly » 2012-05-07 13:19

vimperator接管firefox所有的快捷键,默认的快捷键设置已经被新的快捷键覆盖了。
vimperator是重度键盘党所爱,几乎无所不能。
不习惯推荐用keyconfig,可以随意更改自带的快捷键设置和添加新的快捷键。
还有功能介于两者之间的keysnail,也可实现全键盘浏览,对原生功能更改很少,提供vim和emacs两套预设快捷键方案。
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: 12.04中有没有人用firefox的插件vimperator?

#6

帖子 JiangHui » 2012-05-07 13:23

头像
noble_out
帖子: 150
注册时间: 2012-04-20 15:58
系统: ubuntu12.04+windows8
来自: 中华人民共和国
联系:

Re: 12.04中有没有人用firefox的插件vimperator?

#7

帖子 noble_out » 2012-05-07 14:21

改用pentadactyl,没压力了!
jtshs256
帖子: 22323
注册时间: 2010-07-19 21:41
系统: OS X

Re: 12.04中有没有人用firefox的插件vimperator?

#8

帖子 jtshs256 » 2012-05-07 15:08

叛逃到 pentadactyl 好久了…
躺平
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 12.04中有没有人用firefox的插件vimperator?

#9

帖子 YeLee » 2012-05-08 19:00

给3L喷一口。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
wtry
帖子: 923
注册时间: 2009-03-18 9:26

Re: 12.04中有没有人用firefox的插件vimperator?

#10

帖子 wtry » 2012-05-13 1:34

pentadactyl
快捷键也要重新设定过才能用啊……
头像
noble_out
帖子: 150
注册时间: 2012-04-20 15:58
系统: ubuntu12.04+windows8
来自: 中华人民共和国
联系:

Re: 12.04中有没有人用firefox的插件vimperator?

#11

帖子 noble_out » 2012-05-14 7:54

wtry 写了:pentadactyl
快捷键也要重新设定过才能用啊……
你是说设定系统的?
我没设定,基本不会冲突的,直接建个配置放到~/
很简单滴,我的配置(偷来的配置,只是改了一小部分) :em02 :
用着的感觉只能拿两个字形容:得心应手。

代码: 全选

#cat ~/.pentadactylrc
"引入插件
loadplugins '\.(js|penta)'

"在有无菜单,地址栏之间切换:
map <C-Up> :se go-=mT<CR>
map <C-Down> :se go+=mT<CR>

"加快页面的翻转
noremap j 3j
noremap k 3k

"在标签上显示数字,方便使用b+<num>来选择特定标签 
":set guioptions=rbN

"更舒服的缩放键,用=代替+ 
noremap = +

"防止在最后一个tab的时候按d退出firefox
set! browser.tabs.closeWindowWithLastTab=false

"使用B管理书签 
noremap B <C-v><C-b> 

"改变标签,<C-h>前一个<C-l>后一个 
noremap <C-h> <C-p> 
noremap <C-l> <C-n>

"停止载入改成了s
map s :stop<CR>

"高亮搜索
set hlfind

"使用Windows风格的undo,复制,粘贴,剪切操作 
noremap <C-c> <C-v><C-c>

cnoremap <C-c> <C-v><C-c>
cnoremap <C-v> <C-v><C-v>
cnoremap <C-x> <C-v><C-x>

inoremap <C-c> <C-v><C-c>
inoremap <C-v> <C-v><C-v>
inoremap <C-x> <C-v><C-x>
inoremap <C-z> <C-v><C-z>
inoremap <C-y> <C-v><C-y>

"更改浏览器标题
:set titlestring=Noble-Firefox

"按Ctrl+enter自动补全www和.com
cnoremap <C-Return> <End>.com<Home><C-Right>www.<CR>


"Next Page and Previous Page超级的下一页,基本上是够用了.快捷键是[[和]]
:set nextpattern=\s*下一页|下一章|下一张|下一篇|下页|后页\s*,^\bnext\b,\\bnext\\b,^>$,^(>>|)$,^(>|),(>|)$,\\bmore\\b
:set previouspattern=\s*上一页|上一章|上一张|上一篇|上页|前页\s*,^\bprev|previous\b,\\bprev|previous\\b,^<$,^(<<|)$,^(<|),(<|)$

"在Gmail里自动屏蔽快捷键
"autocmd LocationChange .* js modes.passAllKeys = /.*(mail\.google\.com|www\.google\.com\/reader).*/.test(buffer.URL)

"即时读取配置文件并生效,请修改路径
map S :so "~/.pentadactylrc"<CR> 

"设定编辑器
set editor='vim -f +<line> +"sil! call cursor(0, <column>)" <file>'

"快速改变页面编码
 noremap ,eu :set encoding=UTF-8
 noremap ,eg :set encoding=GB2312

"限制命令行高度
set maxitems=12

"hint mode 下的打开链接
set hintkeys=asdfglkjh
set hinttimeout=1000

"hint样式 
highlight StatusLine color: black; background:transparent; font-weight:bold;
highlight CmdLine color:#000000; background:#2b2b2b; font-weight:bold;
highlight ModeMsg  color:darkgreen; background: white;font-weight:bold;
highlight ErrorMsg font-weight:normal; color:red; background:white;
highlight CompItem[selected] font-weight:bold; color:blue; background:#cccccc;
hi Hint font-family: monospace; font-size: 12px;font-weight:lighter;text-transform: uppercase; color: white; background-color:#1E90FF; padding:1px;margin-left:-2px;
hi HintElem clear

"-------------------------------------------------------------------------------------------------------------------------
"命定定义部分

"gs 打开google 中文搜索网页
command! -nargs=* gs tabopen http://www.google.com.hk/search?9&q=<args>
map -modes=n,v -silent gs :exe<Space>":gs<Space>"+content.getSelection()<Return>

"bs 打开baidu 中文搜索网页
command! -nargs=* bs tabopen http://www.baidu.com/s?wd=<args>
map -modes=n,v -silent gs :exe<Space>":gs<Space>"+content.getSelection()<Return>

"dict.cn 翻译
command! dict -nargs=* tabopen http://dict.cn/<args>
map w :dict<Space>
map <silent> W :exe ":dict "+content.getSelection()<CR>

"-------------------------------------------------------------------------------------------------------------------------
"快速打开我常去的网站
noremap tphp :tabopen http://localhost/phpmyadmin<CR>
noremap tm :tabopen https://mail.google.com<CR>
noremap tq :tabopen http://web.qq.com<CR>
noremap tkj :tabopen http://qzone.qq.com<CR>
noremap tu :tabopen http://forum.ubuntu.org.cn<CR>
noremap tr :tabopen http://www.renren.com<CR>
noremap ttb :tabopen http://www.taobao.com<CR>
noremap tyk :tabopen http://www.youku.com<CR>
noremap ophp :open http://localhost/phpmyadmin<CR>
noremap om :open https://mail.google.com<CR>
noremap oq :open http://web.qq.com<CR>
noremap okj :open http://qzone.qq.com<CR>
noremap ou :open http://forum.ubuntu.org.cn<CR>
noremap or :open http://www.renren.com<CR>
noremap otb :open http://www.taobao.com<CR>
noremap oyk :tabopen http://www.youku.com<CR>
"-------------------------------------------------------------------------------------------------------------------------
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 12.04中有没有人用firefox的插件vimperator?

#12

帖子 eexpress » 2012-05-14 9:49

在opera,看ls这些定义,很蛋疼的啊。
一直没搞懂你们怎么选择链接,然后跳转的,这边有qa/ws/ed。其他的,肯定没opera热键方便。尤其还要自己定义一堆打开指定网址的,这边有nickname。
● 鸣学
sarrow
帖子: 403
注册时间: 2007-10-27 1:04

Re: 12.04中有没有人用firefox的插件vimperator?

#13

帖子 sarrow » 2012-05-16 12:39

ee,请问,nickname如何使用?

我也是opera爱好者。基本不用鼠标。但nickname还没有用过,求解。
---------------------------------------------------------------------------
原来,nickname是书签需要填的一项。填了以后,就可以在地址栏直接使用nickname来跳转页面了。
yx_wh
帖子: 31
注册时间: 2010-02-06 14:55

Re: 12.04中有没有人用firefox的插件vimperator?

#14

帖子 yx_wh » 2012-05-21 12:53

eexpress 写了:在opera,看ls这些定义,很蛋疼的啊。
一直没搞懂你们怎么选择链接,然后跳转的,这边有qa/ws/ed。其他的,肯定没opera热键方便。尤其还要自己定义一堆打开指定网址的,这边有nickname。
〉一直没搞懂你们怎么选择链接,然后跳转的
f加数字。
〉尤其还要自己定义一堆打开指定网址的,这边有nickname。
gn加字母或数字
go加字母或数字
(其实我一般就直接用自动补全了。)


〉"在Gmail里自动屏蔽快捷键
现在不用这个了,直接shift+esc切模式(更有vi的感觉了。)
回复