I'm still poking at #nvi and #vi, and learning interesting little details every day.

Today I learned about the `tildeop` setting, which modifies the tilde command to take an associated motion.

As a result, I no longer miss gU and gu from vim-land. :)

#SimpleTools
#SimplePleasures

@RussSharek

setting tildeop would be more like g~ but you can also pipe ranges of lines to tr(1) or rot13(6)/caesar(6) for things like gU:
:'a,'b!tr a-z A-Z

gu:
:'a,'b!tr a-z A-Z

and g?:
:'a,'b!rot13
:'a,'b!caesar 13

(though it's more challenging for things like word-wise or sentence-wise transformations)

@RussSharek

And if you need it, you cAn hAvE SpOnGeBoB SaRcAsM TrAnSfOrMaTiOn tOo:

https://blog.thechases.com/posts/cli/cli-tricks-spongebob-sarcasm-in-awk/

:'a,'b ! sarcasm.awk

😆

CLI Tricks: Spongebob Sarcasm in awk | Tim's blog

@gumnos

I keep learning a lot from these examples.

Thank you for chiming in!