idvorkin / Vim-Keybindings-For-Onenote

Replicate the vim keybindings in OneNote.
117 stars 18 forks source link

Design a more generic way to implement the <command> <motion> pattern. #25

Closed BlueDrink9 closed 7 years ago

BlueDrink9 commented 7 years ago

Pass function to function? Implement motion functions separately, maybe with a flag, so that they just select. Then use command to move/delete, should just affect selection?

Getting this sorted would speed progress and make script more powerful, but could be difficult.

BlueDrink9 commented 7 years ago

https://stackoverflow.com/questions/12851677/dynamically-create-autohotkey-hotkey-to-function-subroutine

BlueDrink9 commented 7 years ago

Separate mode? I quite like this idea... It's apparently how vim does it.

BlueDrink9 commented 7 years ago

hmmm https://autohotkey.com/docs/Functions.htm#DynCall