23 Feb 2010

philc's vimium

Life altering Chrome extension that adds vi keybindings. It’s not quite as intense as Firefox’s Vimperator but that’s a good thing IMO. You get some really interesting stuff in addition to the obvious h, j, k, and l movement keys and find commands:

gg           scroll to top
G            scroll to bottom
f            activate link hints mode
F            activate link hints mode to open in new tab
r            reload
gf           view source
zi           zoom in
zo           zoom out
i            enter insert mode -- commands ignored until you hit esc to exit
y            copy current url to the clipboard

ba, H        back in history
fw, fo, L    forward in history

J, gT        go one tab left
K, gt        go one tab right
t            new tab
d            close tab
u            restore closed tab

Feels great in practice. Sold.

github.com   14:46

17 Nov 2009

User Scripts (Chromium Developer Documentation)

Chromium runs GreaseMonkey user scripts, apparently. It also says here that “script edits are picked up [from the file system] automatically; just refresh the page to see the changes,” which is something that annoyed me with Firefox’s GM Addon — the files were buried, crazily named, and you had to use that janky addon manager bullshit to make/reload changes. What is that? A directory full of user scripts (now ~/.js on my system) is a perfectly simple setup. Combine that with right-now reloading and I might actually be able to develop these things when I need them.

Anyway, this AdSweep thing is what led me to investigate; looks pretty reliable if you can get through the GM setup.

dev.chromium.org   00:27