Did you know that you can do a simple Maths calculations in Vim? It is as simple as:

  • Going into the Insert mode,
  • Pressing Ctrl R=,
  • Typing something like 2 * 2, and
  • Pressing Enter

2 * 2 = 4

This protip has been written in 324 seconds