You are not logged in.
I've been looking for an extension like this forever, and finally found it!
It's called Vimperator, and it basically makes Firefox work like Vim. Be warned, it's at version 0.1 and some things are slow, like the history function. Most keys are where you should expect them to be, like 'o' for open and 'r' for reload. ',' goes back and '.' goes forward.
I'm going to find the author and give him a big fat hug.[/url]
Offline
Wow, thanks. That's exactly what I was waiting for! :shock:
Offline
Offline
Looks very promising. Here's some mappings for anyone interested.
var g_mappings = [/*{{{*/
["a", "openVimperatorBar('execute alert(');"],
["d", "executeCommand(g_count, 'bdelete', false, '');"],
["D", "executeCommand(g_count, 'bdelete', true, '');"],
["f", "executeCommand(0, 'fullscreen', false, '');"],
["F", "focusNextFrame();"],
["gP", "openURLsInNewTab(readFromClipboard(), false);"],
["gt", "goTab(g_count > 0 ? g_count : 0);"],
["gT", "goTab(g_count > 0 ? g_count :-1);"],
["o", "openVimperatorBar('open ');"],
["O", "openVimperatorBar('open ' + getCurrentLocation());"],
["p", "openURLs(readFromClipboard());"],
["P", "openURLsInNewTab(readFromClipboard(), true);"],
["r", "executeCommand(g_count, 'reload', false, '');"],
["t", "openVimperatorBar('tabopen ');"],
["T", "openVimperatorBar('tabopen ' + getCurrentLocation());"],
["u", "executeCommand(g_count, 'undo', false, '');"],
["y", "yankCurrentLocation();"],
["zi", "zoomIn(1);"],
["zI", "zoomIn(4);"],
["zo", "zoomIn(-1);"],
["zO", "zoomIn(-4);"],
["zz", "zoomTo(g_count);"],
["ZQ", "executeCommand(0, 'quit', false, '');"],
["ZZ", "executeCommand(0, 'wq', false, '');"],
/* scrolling commands */
["0", "scrollBufferAbsolute(0, -1)"],
["^", "scrollBufferAbsolute(0, -1);"],
["$", "scrollBufferAbsolute(win.scrollMaxX, -1);"],
["gg", "scrollBufferAbsolute(-1, g_count > 0 ? g_count : 0);"],
["G", "scrollBufferAbsolute(-1, g_count > 0 ? g_count : 100);"],
["h", "scrollBufferRelative(-1, 0);"],
["j", "scrollBufferRelative(0, 1);"],
["k", "scrollBufferRelative(0, -1);"],
["l", "scrollBufferRelative(1, 0);"],
["<Home>", "scrollBufferAbsolute(-1, 0);"],
["<End>", "scrollBufferAbsolute(-1, 100);"],
["C-b", "goDoCommand('cmd_scrollPageUp');"],
["<PageUp>", "goDoCommand('cmd_scrollPageUp');"],
["C-f", "goDoCommand('cmd_scrollPageDown');"],
["<PageDown>", "goDoCommand('cmd_scrollPageDown');"],
["<Left>", "scrollBufferRelative(-1, 0);"],
["<Down>", "scrollBufferRelative(0, 1);"],
["<Up>", "scrollBufferRelative(0, -1);"],
["<Right>", "scrollBufferRelative(1, 0);"],
/* history manipulation and jumplist */
["C-i", "executeCommand(g_count, 'forward', false, '');"],
["C-o", "executeCommand(g_count, 'back', false, '');"],
["H", "executeCommand(g_count, 'forward', false, '');"],
["L", "executeCommand(g_count, 'back', false, '');"],
/* tab managment */
["C-n", "executeCommand(0, 'tabnext', false, '');"], // same as gt, but no count supported
["C-p", "executeCommand(0, 'tabprevious', false, '');"],
["<F1>", "executeCommand(0, 'help', false, '');"],
[":", "openVimperatorBar(null);"],
/* [" ", "echo('foo'); vimhah.enterMagicKey(event);"],*/
/* ["i", "echo('foi'); vimhah.showHints();"],*/
/* ["b", "vimhah.enterBufferKey(event);"],*/
["<Esc>", "BrowserStop(); focusContent(true, true);"],
["<F5>", "alert(document.commandDispatcher.focusedElement);"],
/* bookmark managment */
["'b", "openURLs('www.bwin.com')"],
["'o", "openURLs('www.osnews.com')"],
["'s", "openURLs('www.derstandard.at')"],
["'w", "openURLs('wetter.orf.at')"],
["'t", "openURLs('www.tvinfo.de')"],
[""b", "openURLsInNewTab('www.bwin.com')"],
[""o", "openURLsInNewTab('www.osnews.com')"],
[""s", "openURLsInNewTab('www.derstandard.at')"],
[""w", "openURLsInNewTab('wetter.orf.at')"],
[""t", "openURLsInNewTab('www.tvinfo.de')"]
];/*}}}*/
Offline
Simply great, thanks (/me thinks that with this my mouse will be happy to being used a lot less in future :-) )
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
Very very nice.
Thanks for pointing out
There are a lot of lies going around.... and half of them are true.
-- Winston Churchill
Offline
this is very cool, i like it so far
where did you find this? i got nothing -- in english or having to do with this -- about vimperator when i looked in google, so im wondering where we can find more information.
Offline
where do i add those mappings phrakture posted?
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
dolby, those are the default mappings you don't need to add them.
Offline
I've been looking for an extension like this forever, and finally found it!
It's called Vimperator, and it basically makes Firefox work like Vim. Be warned, it's at version 0.1 and some things are slow, like the history function. Most keys are where you should expect them to be, like 'o' for open and 'r' for reload. ',' goes back and '.' goes forward.
I'm going to find the author and give him a big fat hug.[/url]
Really nice thing.
BTW how did you removed menu bar on your screenshot?
Offline
Sorry, but what do I do with an .xpi file?
I tried searching the wiki but couldn't figure out.
Offline
Sorry, but what do I do with an .xpi file?
I tried searching the wiki but couldn't figure out.
click and drag it into your firefox window, then firefox will give you a popup to install it
Offline
Nice idea but I don't know.. the answer button right at the bottom of this thread was an obstacle to navigate to an press already with keyboard only.. and either I use the mouse or I keep both hands on the keyboard, no? Maybe I'm just too blind to see the advantage of massive keyboardization while browsing internet pages but 8 out of 10 with with images for buttons, or even worse stuff like flash.
Navigating through the internet via keyboard would be fantastic, but too many page designers seem to perfer the oh so much more simple point-and-click it seems. :-/
Offline
Now, if this were merged with "Split Browser" it'd be sweet.
Offline
Navigating through the internet via keyboard would be fantastic, but too many page designers seem to perfer the oh so much more simple point-and-click it seems. :-/
Nicely put. People have been trying to pimp "web standards" for some time, but always leave off accessibility standards (which would help here)
Offline
Accessibility is so important!
And I don't like this plugin so much because it draws over my status bar, which I need for the weather.
Ps: I don't go outside.
Offline
Ps: I don't go outside.
Then why do you need to know the weather?
KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein
Offline
Can someone tell me why my Bookmark Toolbar is gone with installing vimperator and how I can get it back? Activating it with right-click on the menubar and clicking on "Bookmarks Toolbar" simply does nothing. :
And where I can configure vimperator? I saw phrakture posted some kind of configuration file but I don't know where to put this file and as far as I can see this question has not been answered yet. Or did I read over it?
edit: Found the answer to this question. ^^
Is there some kind of documentation? I cannot even find a homepage of vimperator. <:
edit2: Accessing links via keyboard this simple definitly _rocks_!
Hail to the thief!
Offline
Is there some kind of documentation? I cannot even find a homepage of vimperator. <:
It appears to not even be beta.... looks like it was discovered by chance
Offline
I've spoken with the developer in #vim, and he says that he didn't want to release it officially as he is not finished with it yet.
And I need to know the weather outside so I can set the thermostat inside and save some moneys.
Offline
PS looks like the version was updated on the 15th. Still waiting for an official release. 8)
Offline
when i install it and restart firefox, nothing changes? any ideas
Offline
Hi,
I am the official vimperator author, and finally have managed to setup a help file (do :help inside of vimperator), and to make a 0.2 release.
Get it from:
0.2 is a version which is kind feature complete to use it from day to day. There are of course still many ideas in the TODO file, but I don't know when I can implement them if I don't get patches.
--
Martin
P.S.: Nice too see you guys liking vimperator :)
Last edited by maxauthority (2007-04-11 02:38:03)
Offline
Offline
.
Last edited by benplaut (2021-06-25 12:28:16)
Offline