TIL—There's a calculator on the cmd-line with `bc`.

And you can calculate your text in Neovim by selecting the calculation and sending it to be with `!bc`. Booom, your calculation is now replaced with the result.

Thanks, prime!

Comments