Sample Header Ad - 728x90

How can I set the default editor as nano on my Mac?

57 votes
3 answers
74618 views
I have vim as default editor on my Mac and every time I run commands on Mac terminal, it automatically opens "vim". How can I set up "nano" instead and make sure the terminal will open "nano" every time is needed?
Asked by g_tech (673 rep)
Feb 20, 2019, 01:45 PM
Last activity: May 6, 2025, 07:12 PM