I have a lot of older LaTeX files about physics, which contain values like 9.81 m/s^2
. Since I'm now using siunitx
and it's very useful \SI
command, I have to change this to \SI{9.81}{m/s^2}
.
There must be a better way than inserting \SI{
, replacing the space with }{
, moving past the unit and insert }
. I would like a command like <localleader>si
which can be called with the cursor within the value.