Closed thkim1011 closed 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
Hi @stevenhao , I made the changes you mentioned.
Amazing :)
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 andx
for deleting in normal mode, and all the original action keys from insert mode. To switch into insert mode usei
and to switch back to normal mode useEscpape
. If you could look at it and tell me what you think, that'd be great :).