this post was submitted on 15 Nov 2023
1 points (100.0% liked)

Emacs

310 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Hi,

I was thinking how we can solve the ctrl+c "problem", I found that the ctrl+c with cua-mode is working as copy when a region is selected and it is working az prefix when there is no region selected.
I would like to ask that is possible to change the ctrl+c in the "c" codebase easily or I don't know where ?
It can be a patch and create a custom build to myself ...
Or I just live with it and there is no way to put this "user prefix" to an other key combination ?

thanks for the answers!

top 4 comments
sorted by: hot top controversial new old
[–] danderzei@alien.top 1 points 10 months ago

You can download the full source, create you own version and compile your own. Ut why not simply add CUA mode in your init file?

[–] Ill-Dependent2628@alien.top 1 points 10 months ago

Or try xah-fly-keys it has CUA mode support ootb.

[–] ChristopherGray168@alien.top 1 points 10 months ago

There is wakib-keys in melpa as an alternative to cua-mode. It uses C-d in place of C-c as a prefix, so for example, for C-c C-c, you would now press C-d C-c. C-c does Copy.

[–] thetemp_@alien.top 1 points 10 months ago

In CUA mode, you can use C-S-c and C-S-x as the prefixes and then only use C-x and C-c for cut and copy.