Have you ever needed (n)vim to calculate a maths expression on a line or visual selection and add or replace it with the answer? Calcium can do that for you:
https://github.com/Necrom4/calcium.nvim
From the README:
- 👍 Simple & Complex Expressions: Handle any mathematical expression, see the 𝑓unctions section.
- 𝑓𝑥 Variable Support: Use variables anywhere in your buffer.
- 🎯 Work in the buffer: Evaluates expression in visual selection or current line.
Saved me a lot of time today!







