Status: Accepted Owner: JeanPhilippe.bernardy Labels: Type-Cleanup-Refactor Priority-Medium
New issue 292 by JeanPhilippe.bernardy: Further unification of emacs and vim keymaps. http://code.google.com/p/yi-editor/issues/detail?id=292 * extract the ModeMap record from Vim keymap * Define emacs keymap using this record * add a field in that record that should be the map to use for the current mode. * change the keymap field in the Mode record. This should be a mixin of the ModeMap record (ModeMap -> ModeMap -> ModeMap); where the 1st field is the base record and the 2nd is the final object. Now, the modes would be free to use the insert keymap or the top-level keymap, and modify whichever portion of the record as desired. Additionally, keymaps (vim, emacs) could issue commands at the beginning without interference with the configuration. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---