November 14, 2024 at 08:54 AM

I was forced to a decision today. Do I throw a list into ChatGPT and ask it to reverse the lines. Or do I figure out how to manipulate the text to reverse the lines. I want to know my tools. I don’t want to context switch between tools to do a simple text manipulation operation. Today I relearned that, of course, vim can do this. :g/^/m0 was the incantation. Which feels like magic only as long as I refuse to learn the grammer of vim. Vim is good. I want to manipulate text in Vim.