1969
Happened to me multiple times
(lemmy.zip)
Post funny things about programming here! (Or just rant about your favourite programming language.)
vi?
vim, or better yet, neovim
come to the 21st century, we have lua
and plugins, and syntax highlighting, and multi buffer/multi window support, and LSP support so you can Go to Definition like in an IDE, and wAY more normal mode commands than anyone could ever hope to memorize. also when you do
cw
it deletes the word immediately instead of putting a dollar sign at the end before purring you in insert mode, and regex substitutions highlights text in the buffer as you type so you can see what you're about to replace. it's really quite cool. if you're new to programming and/or feel like committing heresy you can even skin it to look and work like VS Code. people like to joke that we're slowly but surely becoming emacs and they're not entirely wrong.but the important thing is the lua.
It's probably because of Lua that the plugin ecosystem exploded in the recent years.
I'm glad I adopted neovim early.