add save keybindings to editors, fix infinite recursion bug