Toggle line number display in nano on a Mac

Is there a keyboard shortcut for toggling line number display in the nano editor on a Mac? The keyboard shortcutOption-# that works in Linux work doesn't work on a Mac. I read where someone suggested Control-# or Control-C but they don't work either.

I realize it can be set in the nanorc configuration file, but I only want to see line numbers when I need them, like when I need to see which line an error is occurring on, hence the desire to toggle the display.

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like