Post AVXU6YpkjoYc2HF08u by txt_file@chaos.social
 (DIR) More posts by txt_file@chaos.social
 (DIR) Post #AVW7xRfRcWRh3Phvvs by ParadeGrotesque@mastodon.sdf.org
       2023-05-10T16:17:49Z
       
       0 likes, 0 repeats
       
       Today I finally learned that:"sudo update-alternatives --config editor" allows me to replace the dreaded nano by vim.
       
 (DIR) Post #AVWArGEJX2HhhplC0u by KashifShah@mastodon.sdf.org
       2023-05-10T16:50:19Z
       
       0 likes, 0 repeats
       
       @ParadeGrotesque heh, so does “sudo apt purge nano”
       
 (DIR) Post #AVWD8psWRcaT6D4jjs by ParadeGrotesque@mastodon.sdf.org
       2023-05-10T17:15:54Z
       
       0 likes, 0 repeats
       
       @KashifShah Not my machine, some people here prefer nano
       
 (DIR) Post #AVWDbpZudi2cZACGMC by KashifShah@mastodon.sdf.org
       2023-05-10T17:21:08Z
       
       0 likes, 0 repeats
       
       @ParadeGrotesque ahh, yes, i’m so used to my single user environment.  learning more about living in a multi-user environment on sdf
       
 (DIR) Post #AVWGekWMCNrBc1cJUG by cameron@procursus.social
       2023-05-10T16:50:02Z
       
       0 likes, 0 repeats
       
       @ParadeGrotesque wait till you learn about `sudo apt remove nano`!
       
 (DIR) Post #AVWPvsuj96i69ZGH2m by ParadeGrotesque@mastodon.sdf.org
       2023-05-10T19:39:12Z
       
       0 likes, 0 repeats
       
       @cameron Said it before, will say it again: not my machine, and my users prefer nano.So, I have to keep it on the machine and revert the changes from vim back to nano.After that, the machine is out of my hands, they will do whatever they want with it.
       
 (DIR) Post #AVWxUtJyv7Wg2VNG9Q by txt_file@chaos.social
       2023-05-10T23:56:06Z
       
       0 likes, 0 repeats
       
       @ParadeGrotesque You can put```EDITOR=viexport EDITOR```in your `~/.profile`
       
 (DIR) Post #AVXPwBkZJ9CVjMcAZE by ParadeGrotesque@mastodon.sdf.org
       2023-05-11T07:14:00Z
       
       0 likes, 0 repeats
       
       @txt_file But that does not work with sudo...
       
 (DIR) Post #AVXU6YpkjoYc2HF08u by txt_file@chaos.social
       2023-05-11T07:52:48Z
       
       0 likes, 0 repeats
       
       @ParadeGrotesque worked for me as far as I remember.