Vim. I used to use emacs in the mid-90s, but I just found that vi was more universally supported. At this point, I am too old and stubborn to learn anything else. I am really efficient in vim.
thats the exact same reason why i insist on doing things locally even if people nag me to use a webapp that does the same thing as the program. specifically, powerpoint/impress and canva (which is web-based). powerpoint if im on windows, impress if im on linux, and powerpoint has to be specifically the 2007 version.
Libreoffice does something weird to files. Not sure what it is, but I had to use it to fix my bash config at one point and then every time I launched my terminal after that I would get a "command not found:" line with no command, but the terminal still worked so I never bothered to figure it out lol
It probably added some metadata that gets interpreted as a command at launch but obviously fails to do anything. You need to configure how files are saved in order to prevent that.