purcell / whole-line-or-region

In Emacs, operate on current line if no region is active
114 stars 12 forks source link

How to configure `whole-line-or-region` to use `cua-mode` copy/paste shortcuts #11

Closed sridharrajs closed 3 years ago

sridharrajs commented 4 years ago

First of all, thanks for whole-line-or-region. I trying to set whole-line-or-region to use cua-mode shortcuts. Can you please point me to how I can configure it. Thanks

purcell commented 4 years ago

I've never done this, and I'm not quite sure what you mean.

As far as I know, cua-mode binds certain keys to cua-* commands, e.g. cua-cut-region and cua-paste, and those aren't particularly overridden by whole-line-or-region, so there wouldn't be anything "in" whole-line-or-region to bind those keys to.

purcell commented 3 years ago

Closing due to lack of information, but if you tell me more I'm happy to comment.