How do I alias `as` to `askubuntu.com` in Chromium?

I keep typing as into chromium's address bar and hitting return, thinking it would take me to askubuntu.com.

Is there a way for me to alias it to askubuntu.com, so I stop wasting time closing the tab, opening a new one and typing in askubuntu.com before hitting enter?


In Chromium, go to chrome://settings/browser (this is the same as Wrench icon -> Preferences) . In Search, click on "Manage Search Engines". Add a new search engine, with details as follows:

  • Name: AskUbuntu (this doesn't really matter)
  • Keyword: as
  • URL: http://www.askubuntu.com

Alternatively there is a Bookmark Keyword extension, that provides a similar functionality.

After installing, add a bookmark to http://askubuntu.com with the title [as] Ask Ubuntu.

Now it is possible to use the keyword between the square brackets to invoke the bookmark in the address bar. The detailed process is documented on the extension's web page.

As an example, to invoke askubuntu.com you have to type:

kwTABasEnter

(It requires 2 extra key presses, but I think it is a good tradeoff between maintenance and usability. And for an added bonus there are commands that can be appended to keywords to modify the opening process. Eg.: as:t will open the page on a new tab.)