Today I want to celebrate niche tooling that makes life more comfortable on the computer. For context, I like to work with computers from the keyboard, minimizing use of the mouse. But this is often difficult to do consistently, especially when everything is a web app, a world known to be mouse-focused. Let me tell you about the fantastic Firefox extensions Vimium, and Edit With Emacs, both of which make the keyboard life more pleasant.
It’s simple, I don’t like to use the mouse. I find it imprecise and slow, not “moving at the speed of thought”. Especially the idea that when my gaze is on something, I now need to catch up to it with my other hand. So when I can get rid of the mouse, I usually do, in favour of the keyboard.
I don’t particularly believe that it’s much “faster” move around via keyboard, it’s more of a “not losing focus” to keep my eyes focused on the thing I want to do, and type, rather than drag the mouse around until it lines up (or doesn’t! accidents happen). Of course I’m not representative of computer users all round, and don’t pretend to be. I just don’t like to mouse around when I’m focusing!
I’ve in the past had much success encouraging use the keyboard by flipping my mouse upside down: This turns every reach for the mouse from reflex to an intentional action (“is this really worth unflipping the mouse, breaking the streak?”), deprogramming myself from reaching automatically.
But as you might expect, most web navigation (reading a search page result, clicking on the 3rd link, possibly pressing next page) is mouse driven, but feels like it shouldn’t need to?
Vimium is a Firefox1 extension for keyboard navigation, inspired by Vim.
You can watch this Vimium demo video to see how it works.
Overall, Vimium makes Firefox act more like Vim, and in particular provides a vim-like jump ability that makes casual navigation very convenient.
Still helping with keyboard use, but much more niche, is the Firefox extension Edit With Emacs. As described on the firefox extension’s page:
Allows user to edit web-page textareas with Emacs (and other editors).
Figure 1: The “Edit with Emacs” button in a Github comment field (also available via configurable keyboard shortcut while focusing the textarea)
Once clicked, this tool pops a new Emacs frame, and lets you edit that text in Emacs until you’re done and “quit” the file, which copies the contents back.
What happens behind the scene is an Emacs package called “edit-server”, which serves HTTP requests on localhost port 9292, with Firefox calling to provide the initial content and the URL the request comes from. This whole setup means that other editors are supported, if they want, see list of alternative edit-servers.
In typical Emacs fashion, there’s much configuration available, like customizing the kind of text mode selected depending on the website, so Github Markdown is highlighted, or changing the keyboard shortcut that moves you to the editor.
As might be expected of a browser hack, this breaks in overly fancy textboxes, like Jira’s, which is too bad, but I really like the principle of moving more of my text editing life back to the text editor I call home.
I like using the keyboard, and I like little tricks to make my workflow more comfortable. With most of my computer life spent editing text, I’m happy that Firefox can be bent to be more friendly to that lifestyle.
These Firefox extensions give me joy, by providing a sort of “accessibility” that I find web browsers sometimes can lack.
Vimium is available for Chrome too, but I like Free Software and want to encourage it, so Firefox it is. I’ve spent enough time trying to excise Google from my life, to end up using their browser monopoly. ↩︎