Why Nostr? What is Njump?
2024-01-30 19:57:35

scy on Nostr: How cool is btw? Suppose your file contains the string "Tue 30 Jan 2024". Place the ...

How cool is https://github.com/tpope/vim-speeddating btw?

Suppose your file contains the string "Tue 30 Jan 2024".

Place the cursor on the T, then hit Ctrl-A. The text becomes "Wed 31 Jan 2024". Hit Ctrl-A again, it's now "Thu 01 Feb 2024".

Place the cursor on the 4, hit Ctrl-X. The text reads "Wed 01 Feb 2023".

If you hit d followed by Ctrl-X, the date below the cursor becomes the current date, respecting the format it had before.

Works not only with dates, but also times, and combined date/time.

#Vim
Author Public Key
npub1ds9uccvzttwannk5cnf09k8f6wxeuvy84srqhlc98q794n8p5vaq0dpdsr