On Thu, May 19, 2011 at 14:49, Vegard Øye <[email protected]> wrote:
On 2011-05-17 15:51 +0200, Nikolai Weibull wrote:
So I have an implementation of RFC1345 digraphs that I’ve been using with viper/vimpulse. I would like to donate it to Evil and figured I might as well write the integration patch as well. There does, however, not seem to be any insert mode commands yet, so I don’t have an example to follow.
Thank you for your interest in Evil! Insert commands are bound in `evil-insert-state-map', which currently contains only the command for exiting to Normal state:
(define-key evil-insert-state-map (kbd "ESC") 'evil-normal-state)
All state bindings are defined in evil-maps.el. The Insert commands themselves should go in evil-insert.el.
OK, I’ve created a merge request on gitorious: https://gitorious.org/evil/evil/merge_requests/1 I only wrote one test. I would appreciate it if you wrote some more so that I can learn by example. Also, please tell me if you want something other than merge requests on gitorious. Thanks!