My bad - http://manpages.ubuntu.com/manpages/lucid/man1/sensible-browser.1.html 

I always use vim so never thought of something like this.

Still, how "sensible-editor" decides if multiple editors are present?