Evil and cua global mark
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. Are there plans to make Evil compatible with it? Thanks, Alan
On 2012-01-25 16:14 +0100, Alan Schmitt wrote:
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.
Are there plans to make Evil compatible with it?
I'm not sure what you mean. But please open a new issue at the bug tracker with a few use cases, and I'll get around to it. https://bitbucket.org/lyro/evil/issues -- Vegard
Am Wed, 25 Jan 2012 16:14:51 +0100 schrieb "Alan Schmitt" <[email protected]>:
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
On 25 Jan 2012, at 21:02, Frank Fischer wrote:
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.
I've given it more tries, and it seems I was confused: the global mark works as expected with inserted text. It's with yanking or killing text that it does not work. As requested by Vegard and you, I'll open an issue. Thanks, Alan
participants (3)
-
Alan Schmitt -
Frank Fischer -
Vegard Øye