in reply to Re: Better keyboard-driven navigation, any?
in thread Better keyboard-driven navigation, any?

I looked into adding keyboard shortcuts to PM, but the main problem was that these shortcuts conflicted with browser-specific shortcuts. The only shortcut keys possibly available seem to be the digits 0 to 9.

No need to use keys with modifiers, so no conflict. The only thing one must be caring of is turning off the document.onkeypress callback whenever a text entry field or textarea gets focus -as far as javascript is involved,that is.

Simple paging keys, say h,j,k,l and then some for sections, would do.

update: I've put a prototype on my scratchpad. I know you have more JS fu than I and would appreciate a review :)

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
  • Comment on Re^2: Better keyboard-driven navigation, any?

Replies are listed 'Best First'.
Re^3: Better keyboard-driven navigation, any?
by parv (Parson) on Jul 24, 2008 at 00:07 UTC

    If Opera key binding flexibility is not enticing enough, there is also a "Vimperator" plug-in for Firefox (to get vi-like key bindings). Modifier keys being eaten by Gtk and/or Firefox (GNU/Linux) UI did not let me enjoy the plug-in late last year.

    Often I find myself failing to get the effect of my Opera (home) key bindings in Firefox (work). Of course.

    (If I am complaining, perhaps I should try once more to customize the installed version of Opera at work ... mmm ... I see, installation is broken):

      I personally believe -to be completely fair- that I should mention that the first reaction to my root node was a /msg from moritz partially acknowledged in a reply of mine. "Partially," because he actually mentioned Vimperator too. For completeness, the pertinent part of my private reply to him was along the lines of: "quite funnily, I've just sent a mail to some 'friendmins' mentioning that I'm neither a {vi*,emacs}-ite, but a strange beast called a JEDer [...]" All in all, and again for completeness it's good that you eventually mentioned Vimperator in this thread.

      --
      If you can't understand the incipit, then please check the IPB Campaign.