Evil and cua global mark

Frank Fischer frank.fischer at mathematik.tu-chemnitz.de
Wed Jan 25 21:02:26 CET 2012


Am Wed, 25 Jan 2012 16:14:51 +0100
schrieb "Alan Schmitt" <alan.schmitt at polytechnique.org>:

> Hello,
> 
> I just discovered the global mark from cua, and find it very useful. 
> Unfortunately, to use it I must switch to Emacs state, otherwise my 
> movements (j,k,…) are sent to the mark.

I'm not familiar with cua mode (never used it), but a quick search told
me about this global mark. I suppose that cua-mode does some tricks to
catch certain key-strokes. And these may very well interfer with evil.
To get it work one would probably have to disable the global mark
temporarily during normal-state and only activate the mark in insert
state. I think this is possible but because I'm, as I said, not
familiar with cua I do not have an immediate solution. Perhaps someone
else (Vegard?) knows better.


> Are there plans to make Evil compatible with it?

In general we want to make evil as compatible with other modes as
possible. But this is not always easy because many modes have their own
tricks to achieve their goals (as evil has), and many modes are unknown
to us or at least not used by us. So it's always good to give as a
hint ;)

Please open an issue at the evil bugtracker [1], otherwise it gets
easily forgotten. And please give short example (keystrokes, buffer
content) that demonstrates the issue.

Frank

[1] http://bitbucket.org/lyro/evil/issues



More information about the implementations-list mailing list