On Tuesday, June 19, 2018 at 5:41:31 PM UTC+2, Edward K. Ream wrote:
>
> On Wednesday, June 13, 2018 at 3:03:03 AM UTC-5, Karsten Wolf wrote:
>
>
>> Before the update on macOS the following mapping of modifier keys was
>> true:
>>
>> Leo - macOS
>>
>> Alt = Alt
>> Ctrl = Command
>> Meta = Control
>> Shift = Shift
>>
>> After the update:
>>
>> Alt = Command
>> Ctrl = Alt
>> Meta = Control
>> Shift = Shift
>>
>
> There are two settings, at least, that affect key bindings on MacOS:
>
> @bool swap_mac_keys = False
> @bool replace-meta-with-alt=True
>
> What values for these settings do you use?
>
I use the defaults from leoSettings.leo:
@bool replacemetawithalt = False
@bool swapmackeys = False
With these settings and branch master:
Alt-Left, which I defined in myLeoSettings, like all Mac-Editors, as
back-word.
trace-keys:
LeoKeyEvent: binding: Alt+KeyPad+Left, stroke: <KeyStroke:
'Alt+Keypad+Left'>, char: u'Left'
masterKeyHandler u'Left' <KeyStroke: 'Alt+Keypad+Left'>
action taken: focus on tree and select parent node
It gets the key and executes something different.
In Settings:
M all: Alt+Left back-word
>
> With the settings shown, everything works as expected with a *Microsoft*
> keyboard. With an *Apple* (chicklet, US) keyboard, the Alt (Option) key
> generates keys directly, so there is no way to catch Alt- modifiers.
>
My keyboard is a Logitech K120 https://www.logitech.com/en-us/product/k120
- german layout.
>
> With the Apple keyboard, The Control key generates the Alt- modifier, and
> Command (clover) key generates the Ctrl- modifier.
>
> Recent revs add support for @bool swap_mac_keys = True, but that has not
> been recommended for years, iirc.
>
> HTH. I plan no further work on #930, but I'll be happy to fix any
> remaining problems. Please use --trace-keys when reporting what is
> happening.
>
> Edward
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.