grantm / sudoku-web-app

A Sudoku web app - as used on SudokuExchange.com
GNU Affero General Public License v3.0
50 stars 22 forks source link

Vim-like mode #21

Open gustaphe opened 4 years ago

gustaphe commented 4 years ago

I'd love an option to toggle a vim-mode:

key action
u undo
r redo
i enter [i]nner pencil mode
o [o]uter pencil mode
a norm[a]l fill mode
c [c]olor mode
hjkl left, down, up, right
v enter visual select mode
w to next box
/<num> select all cells where <num> is a candidate
grantm commented 4 years ago

I do like this idea (I am a Vim user too) but it's going to be a while before I work through the higher priority issues.

I'm thinking the best approach will be to introduce a layer of indirection in mapping keystrokes to actions.