1

I am on ARM-based MacOS Sonoma 14.

For some reason, I have no luck with the 'copy' step from this answer to the same question on OS X. I have tried both with and without the 'use Option as Meta key' button, i.e, Esc+6 / Esc+Shift+6 & Option+6 / Option+Shift+6. I needed to use Ctrl+Shift+6 to set/unset mark. Has nano's behavior changed, or am I doing something wrong?

bmike
  • 235,889
shea
  • 85
  • For me too it doesn't work – minseong Jan 11 '24 at 05:42
  • ESC-6 works for me on Sonoma, without "Option as Meta" set. Is it only "Copy" which doesn't work for you, or do "Undo" and "Set Mark" not work either? – nohillside Jan 11 '24 at 09:37
  • @nohillside i can (un)set marks, but ESC-U (undo) and ESC-6 (copy) don't work. interestingly, i tested in a Linux VM on the same machine, and all of these work just fine, using ESC as Meta key. – shea Jan 11 '24 at 16:27
  • 1
    Ah, my bad. I installed nano via Homebrew ages ago, totally forgot about that. macOS doesn't even include nano any longer, /usr/bin/nano is just a symlink to pico. – nohillside Jan 12 '24 at 07:28

1 Answers1

1

Although nano is (now) symlinked to pico v5.09, it seems 'Undo' and 'Copy' are still disabled by default.

Use brew install nano (followed by hash -r) to install the latest version of nano, along with enabling these features.

shea
  • 85