I have my own myLeoSettings.leo which is exactly the same as
leoSettings.leo, and I modified this file.

I tried to find the @bool swap_mac_keys option as I asked at the other
thread (http://groups.google.com/group/leo-editor/browse_thread/thread/
f1ad9084d3afd097), but I found nothing, so at @settings/command
options, I just added the option.

@bool swap_mac_keys = True

1. With C-I key, I added the "@bool swap_mac_keys = True" as headline.
2. Relaunch Leo.
3. Tried to use Control-A, but I got 'A' printed.

Interestingly, now Commande-E works, as I asked in
http://groups.google.com/group/leo-editor/browse_thread/thread/c5c8bd6d5208bfa7

What might be wrong?

This is the Leo environment that I use.
===============================
Leo 4.8 rc1, build 3715, November 15, 2010
Python 2.6.1, qt version 4.7.0
darwin
===============================


On Nov 16, 1:04 pm, "Edward K. Ream" <[email protected]> wrote:
> On Tue, Nov 16, 2010 at 12:56 PM, smcho <[email protected]> wrote:
> > The Control-Something keys in leoSettings.leo/@settings/@keys are
> > mapped to Command-Something with Mac OS X.
>
> > Can I change this behavior?
>
> Do you know about the @bool swap_mac_keys setting?
>
> True (legacy):      Translate control-only keys to command keys on the
> Mac. False (recommended):  No translation.
>
> Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to