autohotkey_viper icon indicating copy to clipboard operation
autohotkey_viper copied to clipboard

implement vi like keybindings for any windows editors using autohotkey tool

This project implements vi like keys for any arbitrary editor like app on windows as far as possible.

Eg w es emulated by and e is emulated by

This is a rewrite of http://www.autohotkey.com/forum/topic44762.html cleaning up the code removing much repetition.

TODO: implement searches: /?*# (depend on window. Probably ctl-f can be used almost everywhere, but setting forward / backward might be different)

implement visual selection mode (needs state)

implement things like { } etc. Strategy: Copy whole buffer to clipboard, use shift-END or such to find position of cursor using this "current" line calculate movement options

Note: Don't think that this comes even close to Vim features. But it works everywhere

TODO:

  • make it switch off vi mode if user changes app manually eg by alt-tab