mcamac / crosswords

Multiplayer online crosswords
9 stars 3 forks source link

More key bindings #20

Open hftf opened 11 years ago

hftf commented 11 years ago

New

Backwards-incompatible changes

mcamac commented 10 years ago

Turns out Macs don't have end or (traditional) delete keys. Fun. I propose shift-left, shift-right, shift-up, and shift-down for skipping until the end of a word in those directions.

hftf commented 10 years ago

home is like ctrl-a or cmd-left end is like ctrl-e or cmd-right delete is like fn-backspace

I still vote for having home/end/delete shortcuts along with mac aliases

mcamac commented 10 years ago

Sounds good. I prefer shift because ctrl/cmd are usually already aliased to things.

hftf commented 10 years ago

How about this:

home, (isMac and cmd-left) → beginning of word end, (isMac and cmd-right) → end of word ctrl-home, (isMac and ctrl-cmd-left) → beginning of puzzle (first white cell) ctrl-end, (isMac and ctrl-cmd-right) → end of puzzle (last white cell)

shift-up → move to beginning of Down word without changing direction shift-down → move to end of Down word without changing direction shift-left → move to beginning of Across word without changing direction shift-right → move to end of Across word without changing direction

What to do about delete? Just delete should be acceptable because fn-backspace triggers the correct delete keyCode (n.b. fn by itself doesn't trigger anything at all). Thus ctrl-delete would just be activated by ctrl-fn-backspace as expected.

Remember that these will eventually be configurable (#22).


How much should we consolidate key mappings in existing crossword software? XWord: 1 2 Across Lite: 1