insert-state-map

Barry OReilly gundaetiapo at gmail.com
Sun Nov 18 05:56:48 CET 2012


I'm not clear on what you're doing, but it sounds like you might want to
use Emacs key translations.  To see how to do Evilish key translations, see
the EmacsWiki Evil page.



On Sat, Nov 17, 2012 at 6:55 PM, damien.thiriet77 <
damien.thiriet77 at laposte.net> wrote:

> Hello,
>
>
> I have to change my keyboard layout when switching from french bépo to
> Polish layout, that I use only for writing text in emacs. Unfortunately,
> these changes are quite messing, since most apps I use are vimish like. I
> made a minor-mode dedicated to Polish and I would like to use insert-map to
> switch the keyboard layout in an quite unorthodox way. Unfortunately,
> (define-key evil-insert-local-map "e" '(quote a)) does not work. According
> to define-key doc, DEF should be a string that can be called interactively.
> What shall I do? Is there a way to make such a (indeed weird) mapping?
>
> I know this sounds quite crazy, but it would really be a great spare of
> time (I wouldn’t have to change configuration of other apps, and per-window
> keyboard layout switch on linux is complicated since I am using my own
> keyboard layouts, calling emacs in -nw and changing the layout in zsh is
> precisely the thing I would like to avoid, because of my vimish bindings)!
>
> Thanks,
>
>
>
> Damien Thiriet
>
>
>
>
> Une messagerie gratuite, garantie à vie et des services en plus, ça vous
> tente ?
> Je crée ma boîte mail www.laposte.net
>
> _______________________________________________
> implementations-list mailing list
> implementations-list at lists.ourproject.org
> https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ourproject.org/pipermail/implementations-list/attachments/20121117/135776e8/attachment.htm 


More information about the implementations-list mailing list