Any existing way to customize derived mode according to its base mode?
Hi all, Evil mode is really wonderful for most editing issues. But I sometimes prefer the default keymaps(emacs state) for other modes for instance, those modes that are derived from comint-mode. When I set (evil-set-initial-state 'comint-mode 'emacs) But when I use gud-mode, the initial state is still `normal'. So is there any setting that can make the derived mode inherit the base mode? Thanks. Hongxu Chen
On 2013-04-23, Hongxu Chen <[email protected]> wrote:
Hi all,
Evil mode is really wonderful for most editing issues. But I sometimes prefer the default keymaps(emacs state) for other modes for instance, those modes that are derived from comint-mode. When I set
(evil-set-initial-state 'comint-mode 'emacs)
But when I use gud-mode, the initial state is still `normal'. So is there any setting that can make the derived mode inherit the base mode?
Not that I knew of. Although it should be doable, it's just not implemented, yet. Best regards, Frank
Thanks for your reply, Frank. And evil is really fabulous:-) On Wed, Apr 24, 2013 at 10:22 PM, Frank Fischer < [email protected]> wrote:
On 2013-04-23, Hongxu Chen <[email protected]> wrote:
Hi all,
Evil mode is really wonderful for most editing issues. But I sometimes prefer the default keymaps(emacs state) for other modes for instance, those modes that are derived from comint-mode. When I set
(evil-set-initial-state 'comint-mode 'emacs)
But when I use gud-mode, the initial state is still `normal'. So is there any setting that can make the derived mode inherit the base mode?
Not that I knew of. Although it should be doable, it's just not implemented, yet.
Best regards, Frank
_______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
participants (2)
-
Frank Fischer -
Hongxu Chen