Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know about cua-mode, but I'm specifically wanting to bind C-C and C-V (the uppercase versions) to be like the terminal in Gnome. Is there any way to do this? I tried this, but it gave me all kinds of errors (apparently, it doesn't like me binding something to C-c whether the C is lowercase or not):

(global-set-key "\C-C" 'clipboard-kill-ring-save)
(global-set-key "\C-V" 'clipboard-yank)

Is there any other way to do this, or am I just going to have to use a prefix of some kind?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You can remap the whole dang keyboard if you like, recent emacs even have a menu and GUI to help you with this.

Problem is, C-C in particular is a prefix to a lot of other commands. Those would all end up needing to be attached to new key combinations. While your cut&paste habits may die hard, in the long run you may get more joy if you "submit" to Emacs' conventions rather than try to force them into line with Windows keystrokes.

share|improve this answer
1  
It's not about sticking to windows habits. It's more about being consistent with the Linux terminal and using fewer keystrokes. But, if the answer is "there's no way to use C-C for this without remapping a lot of stuff", then I'll just use a prefix. :-) –  Jason Baker Jan 7 '10 at 13:41

"It's more about being consistent with the Linux terminal and using fewer keystrokes."

My Linux terminal understands C-Insert as Copy and S-Insert as Paste (kill and yank, respectively). Emacs also understands those (at least the more recent versions do), or can be easily made to understand them. In fact, most applications understand them, along with S-Delete for Cut; I usually only have trouble at Web-2.0 sites.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.