Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to use vim over nano as default text editor. I tried to do it with
sudo update-alternatives --config editor
From menu I chose vim. However, when I open any file, Linux launches nano just as before. What am I doing wrong?!
update-alternatives --display editor
Edit extension file
Required, but never shown
3 months ago