Saturday, February 27, 2010

Opera and vi Style Navigation Scrolling Shortcuts

I'm an emacs user, but honestly, vi style navigation is better if you are a touch typist. By vi style navigation, I mean scrolling down with j and up with k, and with these keys, you can keep your hands on the home row.

One thing that annoys me reading web pages is that in order to scroll, I have to press the down button instead; however this has an easy fix in Opera since it supports customizable one key shortcuts.

  1. Go to Tools - Preferences.
  2. Go to Advanced - Shortcuts
  3. Select Enable single-key shortcuts.
  4. Duplicate the current keyboard  setup by pressing Duplicate.
  5. Select the new duplicate keyboard setup, press Edit.
  6. Select the Browser Window group.
  7. Select  New, for the shortcut, enter "j", for the command, enter Scroll down.
  8. Select  New, for the shortcut, enter "k", for the command, enter Scroll up
  9. Select OK, and make sure you select the duplicate, not the original keyboard set.

Now, you can scroll down with j and up with k. This works in all sites except those that make use of j already, like Gmail and Google Reader.  j and k already have different functions in those sites.

Combined with this Readability tip, it makes perusing the web much nicer.

1 comment:

Mert Nuhoglu said...

Thanks this is very useful tip too. :)