ajaxorg/ace — pull request #517 by nightwing (2011-11-19 19:31:40+00:00)
Title: Keybinding cleanup

code in keybinding.js is very enatangled (same code called multiple times taking slightly different paths and shuffling order of arguments all along)
i've tested refactored version with vim plugin from cloud9 and it works.

moved readOnly checks into commandManager this is useful for issue #333 since to change how readOnly works one only needs to override editor.commands.exec

with all commands going through commandManger
it is possible to support keyboard macros
i've added basic commands for it ctrl-shft-e to toggle recording, ctrl+e to replay