On Mac OS, I'm extensively using the emacs-like bindings (C-a to go to the beginning of line, C-k to delete the whole line, etc.) I'd like to emulate this behaviour on Windows, so I'd like to press ctrl-a to home, ctrl-k to run a script that deleted the rest of the line (or perhaps a macro: shift down, end, shift up, delete). What program should I use?
You can try Autohotkey ( http://www.autohotkey.com/ ). You can pretty much do whatever you want with it, and if you stick to keyboard shortcuts it is not too difficult.