Re: Swap control and command keys on a mac
Benno Schulenberg <[email protected]> Mon, 27 Jun 2022 16:12:37 +0200
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
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
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed