yonglehou / ergoemacs

Automatically exported from code.google.com/p/ergoemacs
0 stars 0 forks source link

Allow one line config for using Ctrl instead of Alt #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As a long time emacs user I really like what you've done.

However I have my Ctrl key mapped to where your Alt key is. I find this the
best option because then *everything* can be used with my thumb (I find
ctrl is still the most used key everywhere, not just emacs).

So it would be nice if I could easily config ergoemacs to use ctrl as the
primary, rather than alt. I could probably do this myself, and will give it
a shot when I get some time.

Original issue reported on code.google.com by james.r...@gmail.com on 27 Apr 2009 at 7:51

GoogleCodeExporter commented 9 years ago
Thanks a lot. Great suggestion.

will take some time to think how to implement this, as it'll probably change 
every line 
that dose binding. If you get to do this, please let me know! Thanks a lot.

Original comment by xah...@gmail.com on 15 Jul 2009 at 1:46

GoogleCodeExporter commented 9 years ago
I have added a partial fix for this. You will need to add:

(setq ergoemacs-swap-alt-and-control t)
(ergoemacs-mode 1)

It will swap all of ergoemacs keys.  However, I'm not sure it is a good idea to 
mask C-c and C-x as many emacs commands map to this.  However the ergoemacs 
keybinds are now customizable, so you can change them as you see fit.

Original comment by matthew....@gmail.com on 23 Dec 2012 at 4:58

GoogleCodeExporter commented 9 years ago
It will also not change the CUA keys appropriately.  

Original comment by matthew....@gmail.com on 23 Dec 2012 at 4:59

GoogleCodeExporter commented 9 years ago
Partial fix

Original comment by matthew....@gmail.com on 25 Jan 2013 at 2:52