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}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Better keyboard-driven navigation, any?
by parv (Parson) on Jul 24, 2008 at 00:07 UTC | |
by blazar (Canon) on Jul 24, 2008 at 09:15 UTC |