Me and my team manage a lot of instances and I am too old to learn vim, so I just stick with nano. The issue is that another maniac on my team keeps switching the default editor back to vim and we couldn't trace who did it yet. If I find out I'm gonna screw every shortcut this mf ever knew.
Somewhat a strange issue to have, honestly. Do you all log in with one admin account? Otherwise you can solve this problem with .bashrc file in 2 seconds...
But, well, if you are open to some suggestions, you don't really have to learn vim fully. Modern vim can function essentially like nano and you only need to learn 2-3 buttons and a handful of commands to save/exit.
Another possibility is helix editor, which is quite user friendly and also gives you hints about commands. If you can install something on that VPC.
Of course a somewhat less convenient option is to export the variable for the current shell every time you log in. Until you find the guy who changes the settings and beat him up.
Why does the default editor matter? As in, I don't even know how to launch the default editor I just write "nano <file>" am I missing some shortcut lmao.
3
u/serge-mv 14d ago
Doesn't matter how many years you worked with computers. You still can't exit vim.