Hacker News new | ask | show | jobs
by prmoustache 1518 days ago
Is it that weird editor they tend to put on our distro these days were we end up having a lot of i x r R :s/foo/bar :w and :q embedded in the text and that we need to close quickly in fear of adding syntax error before doing an EDITOR=vi ?
2 comments

Who is "we"? You might be the only person out there who types out 7 full vim commands before opening your eyes to look at what app is running
That was tongue in cheek.

I would say the problem is not to not know which app you are using but muscular reflexes. Sames happen to me if I open gedit, notepad.exe or even an text processor such as writer or word.

I had to put vim binding to make vscode bareable otherwise I kept making errors.

Then `export EDITOR=vi` in your profile? Or in whichever global config file in /etc is appropriate, or possibly using your distro's alternatives system? This is an extremely solvable problem.
oh I didn't say it wasn't solvable, just that it catches me off guard every time I install a fresh new OS.
That's fair:) I would say that you should automate it by using ansible or something like that, but I've done that and there's still a very jarring few minutes while you're running the initial install and getting enough of a system for ansible to run on.