help-nano
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swap control and command keys on a mac


From: Benno Schulenberg
Subject: Re: Swap control and command keys on a mac
Date: Mon, 27 Jun 2022 16:12:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

Op 27-06-2022 om 11:03 schreef Robin Twiggs:
> I've managed to get my Mac keyboard to behave as close as possible to my Linux
> Mint with biggest change being swapping control and command keys on the Mac.
> 
> Nano, in this environment, now expects command key presses in place of 
> control key.

I have no idea what the Command key does.  Does it behave like the Alt key
on Linux?  Nano knows only Control and Alt; it has no knowledge of Command.

> If I could swap control key and command key in nanorc I would have nano 
> behaving
> as I need.
> 
> Can this be set?

If the Command key behaves like Alt, then you can achieve the swap by
rebinding all the keystrokes: bind M-U paste main, bind ^U undo main,
and so on and so on.

Benno

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]