3 ms·
Sorry if I was not clear, most of the time when you edit a config file you decide what editor you use, so you would run nano /etc/congig.cfg my only issue was
by simion314 5y ago
Sorry if I was not clear, most of the time when you edit a config file you decide what editor you use, so you would run
nano /etc/congig.cfg
my only issue was with crontab, since it was using nano but someone changed it to vim so I was surprised by it, I really had to google how to exit it. Since I edit cronjobs once a year and for config files I can use nano it would be a waste to learn vim, I would just forget all the shortcuts - not sure how other people memory works by me I forget stuff I do not use , like regexp I use them 2 times a year and each time I need to read again what symbol does what.
I am not sure who to blame for making vim the default (in EDITOR), I could swear it was nano and someone in our team had to switch it vim to fuck with the rest,
- licebmi__at__ 5y agoIn most the distributions, the default editor is vi, I believe the only (mainstream) distribution which has nano as default is ubuntu. In fact, being a sysadmin, the reason most of us learnt vim is because it's always the default and it's installed everywhere.