downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
229 stars 91 forks source link

Vim Keybindings #115

Closed thkim1011 closed 4 years ago

thkim1011 commented 4 years ago

This is more of a proof of concept (the actual code needs more cleanup work and there are some design questions that need to be addressed here), but I've managed to implement vim keybindings to the frontend. My changes adds a new action menu which allows you to switch from normal mode to vim mode. Vim mode should allow hjkl for navigation and x for deleting in normal mode, and all the original action keys from insert mode. To switch into insert mode use i and to switch back to normal mode use Escpape. If you could look at it and tell me what you think, that'd be great :).

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/downforacross/downforacrosscom/f5oa4x90y
✅ Preview: https://downforacrosscom-git-fork-thkim1011-vim-mode.downforacross1.vercel.app

thkim1011 commented 4 years ago

Hi @stevenhao , I made the changes you mentioned.

stevenhao commented 4 years ago

Amazing :)