Join Nostr
2026-02-05 01:29:26 UTC
in reply to

Henrik Pauli on Nostr: Yesterday I had a moment when I changed a few things locally and wanted to just paste ...

Yesterday I had a moment when I changed a few things locally and wanted to just paste the whole file over the one in a container as my clipboard and my terminal felt easier than actually copying files.

I'm not a good vi(m) person, I survive with it, but it's what is available through ssh. So I wanted to delete all lines and paste.

Immediately `1,$d` came to my head from ed, with which I have much less experience.

Straightforward. Still don't know how to do it nicely in vim XD (`d9999d` :P)