Disable all Mac system keyboard shortcuts whilst using nano I want to use nano on the terminal, however the built-in system keyboard shortcuts constantly conflict with the usability of the program.
Is there a way in which I can set a system option to disable all system shortcuts whilst I am running nano? I am aware that this would be the case regardless of whether I switched to a different application, but I am hoping it would set a habit that I would not do this until I had finished editing and closed nano again.
There are multiple shortcuts which conflict, and as such I am confident that there are more that I haven't yet found, thus I would like a blanket solution such that I can start to learn and be more efficient with nano's shortcuts without any confusion as to whether I can trust the nano help screen
I am aware that bettertouchtool exists, but I don't know if it would be able to set configuration in an event-driven way like I would like
Seems the conflict would most of the time be a Meta keybinding where Meta = CMD key on a Mac. The Nano website has a keybinding section of documentation here. You may need to configure a .nanorc and redefine those keybindings that conflict with macOS.
https://www.nano-editor.org/dist/latest/nano.html#Rebinding-Keys
The macOS Terminal under the Profile -&gt; Keyboard has a checkbox for Use Option as Meta key.  Seems to work for the nano meta keys.  This is per Profile in Terminal.