Vimperator update!

April 18, 2007

Vimperator has been updated! Version 0.3 is out, and two of the “complaints” I had have been fixed! Here’s the changelog:

17/04/2007:
* version 0.3
* added Ctrl-v support to pass one key to firefox (patch by Muthu Kannan)
* also ‘I’ will go to ‘ignorekeys’ mode until esc is pressed, presenting a workaround
for many javascript form fields like GMail, until something better comes along.

* Vimperator can now be automatically updated in the :addons screen like other extensions
* fixed :tabnext/:tabprevious commands
* documented ’s’ and ‘b’ guioptions flag for statusbar/bookmark bar
* implemented the possibility to use CTRL-[ as an alternative to ESC, to leave the command line
* added Ctrl-Tab and Ctrl-Shift-Tab support for switching tabs without beeping
* ability to use shift and ctrl with special keys like F1 in mappings
* small documentation and other fixes

Emphasis added to the items that I had some issues with. Great job!


Virginia Tech tragedy & Wikipedia trolls

April 16, 2007

As you may already be aware, a terrible shooting occurred at Virginia Tech today with over 20 people killed. Wanting to know a little more about what happened, I decided to go to Wikipedia. Bad idea. Look at the description of the events:


Virginia Tech tragedy & Wikipedia trolls

April 16, 2007

As you may already be aware, a terrible shooting occurred at Virginia Tech today with over 20 people killed. Wanting to know a little more about what happened, I decided to go to Wikipedia. Bad idea. Look at the description of the events:


Vimperator: Vim-like navigation for Firefox

April 15, 2007

A few days ago, my friend jamessan mentionned on IRC a Firefox extension called Vimperator, an add-on that gives vim-like key bindings to Firefox. I didn’t try it at the time, but when the link was posted on programming.reddit, I decided to give it a try.

It’s an absolutely awesome extension, you use j and k to scroll down and up on a page, Ctrl-F and Ctrl-B are the equivalent of PageDown and PageUp, you can yank the current URL by pressing y and you can delete a tab with d.

The one feature that absolutely blew me away was the QuickHint mode. You press the letter f and all the links in the page have a small “tag” attached to them with a two letter code. Typing that letter code in lower case letters opens the link in the current tab, in upper case letter, the link is opened in a new tab. It’s an absolutely fantastic way to navigate without ever having to reach for the mouse.

As in Vim, you there is a command-line that is accessible by pressing :. The usual commands such as :q, :set, :bd, :h are all available with some more thrown in for browsing. One such command is :open (which you can also launch just by pressing o in command mode). :open gnuvince.net will navigate to this blog. :open gnuvince will perform a search on Google for ‘gnuvince’. :open imdb godfather will do a search on IMDb for ‘godfather’. The documentation doesn’t mention which search engines are supported, I know of Google, IMDb and Wikipedia so far.

Vimperator is not without flaws however. First, since the actions are done with single keys, you lose the ability to use them in applications such as Gmail or Google Reader. Using j and k to go to the next/previous message no longer works, you can’t archive messages by pressing the y key, etc. I’m quite used to those keys, so it’s kind of a drag to reach for the mouse in these cases. I think the problem could be fixed by having an equivalent of insert mode: pressing ‘i’ would make Vimperator ignore the keys (except for Esc to go back to command mode), thus allowing Gmail and other applications to work properly without Vimperator pre-emptively capturing those and performing their actions.

Speaking of keys, the key bindings for Back and Forward are H and L respectively. h and l are used for scrolling a page horizontally. Since it happens way more often that I want to go back than scrolling a page (which almost never happens anymore anyway), I think the bindings should be inverted.

Vimperator also replaces the default status bar with its own vim-like status bar. I have a Gmail pager add-on that displays the number of unread messages in the status bar, so when I use Vimperator, I lose that, so Vimperator effectively renders another add-on useless. Hopefully, future releases of Vimperator will make the status bar visible again. They should probably add that to the ‘guioptions’ setting.

For now, I have disabled Vimperator, but I’m keeping it installed because it’s so cool and I hope that future versions can fix the problems I mentioned.


Email peeves

April 10, 2007

My friend Brett wrote a post about bad emailing habits. The list is pretty good, and I’d like to add some peeves of my own.

  1. Clean your inbox: Please, please, please, delete the emails you don’t need! If you had a conversation that went back and forth with someone and the messages were always quoted, delete all but the latest transmission. All the information is in there, and freeing your inbox means that when I try to send you an email, I won’t get an error message saying your mailbox is full. If you wanted my email so urgently, why didn’t you make sure you could receive it?! This also means discard no longer needed attachments.
  2. Don’t always ask for reading confirmation: Add those manually and only to the emails you actually need a reading confirmation! I deal with a person who marks all her messages with those. Seriously, when you email just to ask two questions, you don’t need to know if I read it. If I don’t reply within a week, call me.
  3. Long signatures: Long, colored, information overflowed signatures suck. ‘Nuf said!
  4. Keep it professional: Use a spell/grammar checker to make sure your email isn’t ridden with errors. And don’t “lol” me. I kid you not, I received an email from a client and she said “lol!!” after a request. We’re not on IRC, we’re doing business, please act as such!