Vim shortcuts in the browser using Vimperator
I believe I’ve taken the ‘keyboard shortcuts’ thing to the next level – using Vimperator, I’ve now got “Vim-style” keyboard shortcuts in Firefox. I can open tabs, search in Google, and navigate websites without using the mouse. And it really is faster – except if a page has a ton of links (>300). The only bug I’ve found is that
pen doesn’t work with keyword shortcuts (ie “:open wp Test” does a Google search for wp Test instead of opening the Wikipedia page for test)
One of the things I did do though, was use set guioptions=mT, because I use other toolbar buttons like the del.icio.us bookmark button, and I suspect it’s less confusing for other people to not have an address bar
Hi
wp test
You can use that keyword shortcut with
Tejaswi
17 Apr 08 at 12:14 am
>
pen doesn’t work with keyword shortcuts
Firstly, that isn’t a bug. You’re just not using it right. Move out all your searchplugin xml files from your /usr/share/firefox/searchplugins (*NIX) or Program Files directory (Winblows) to your ~/.mozilla/profiles//searchplugins and edit all of them by hand to include an . If the alias is wp for wikipedia
wp Adolf Hitler opens that wikipedia page perfectly fine.
> because I use other toolbar buttons like the del.icio.us bookmark button
Oh, you can avoid that too. Just create a new bookmark and fill some code in the place of location (listed below). Put in foo in the ‘keyword’ box and
foo to bookmark the current page with the tags .
javascript:e=%22%22+(window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text);void(delicious = open(’https://api.del.icio.us/v1/posts/add?description=’+encodeURIComponent(document.title)+’&extended=’+encodeURIComponent(e).replace(/ /g, %22+%22)+’&tags=%s’+'&url=’+encodeURIComponent(window.location.href),delicious’,'toolbar=no,width=500,height=150′),setTimeout(’delicious.close()’,5000))
artagnon
24 Apr 08 at 2:17 am
@artagnon: Actually at the time, it wasn’t supported – they added it in a more recent version.
Paul Betts
27 Apr 08 at 12:12 am