cua-mode rectangle selection and M-ijkl movement

30 views
Skip to first unread message

Kirill Lapshin

unread,
Jan 18, 2017, 9:47:09 PM1/18/17
to ErgoEmacs
Hello everyone,

I'm using ergoemacs-mode and loving it. I've disabled standard arrow movements and backspace to force myself using more ergonomic M- bindings. Every once in a while I want to use rectangle selection. I'm using standard emacs C-x r k and friends, but wanted to give fancy cua-mode selection a try. I've added (cua-selection-mode t) before enabling ergoemacs-mode, as per https://ergoemacs.github.io/minor-modes.html. I can start rectangle selection with C-RET just fine, however it insists on using arrows (which are disabled) for point movement. All special cua bindings have been remapped to super as far as I understand, so why M-ijkl are not mapped for movement?

Regards,
Kirill

Matthew Fidler

unread,
Jan 19, 2017, 10:32:11 PM1/19/17
to ergo...@googlegroups.com

They should be.  Last time I checked they were.  Perhaps you can share your configuration  and what version of ergoemacs you were using.


--
You received this message because you are subscribed to the Google Groups "ErgoEmacs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ergoemacs+...@googlegroups.com.
To post to this group, send email to ergo...@googlegroups.com.
Visit this group at https://groups.google.com/group/ergoemacs.
For more options, visit https://groups.google.com/d/optout.

Pranas M.

unread,
Jan 29, 2018, 8:53:46 AM1/29/18
to ErgoEmacs
Hi,

I'm newbie trying to make Emacs work and have exact same problem. Adding my current init.el.
After C-RET, moving with arrows works as expected, but
M-j   = works as intended
M-k  = kills region
M-l   = quits
M-i   = does nothing
init.el

Matthew Fidler

unread,
Jan 29, 2018, 9:29:43 AM1/29/18
to ergo...@googlegroups.com
What version of Emacs? 

Pranas M.

unread,
Jan 29, 2018, 5:21:45 PM1/29/18
to ErgoEmacs
GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-09-22, modified by Debian

Matthew Fidler

unread,
Jan 29, 2018, 11:54:40 PM1/29/18
to ergo...@googlegroups.com
You are right.  I couldn't figure out why within a few moments.

I know that cua-mode does some very fancy things with keys, so I can't get it working easily in a few moments.

Might I suggest multiple cursor for rectangle-like editing.  It isn't quite the same as cua's rectangle mode, though.  Still it is working for me using ergoemacs-mode.
Reply all
Reply to author
Forward
0 new messages