Add the addline action

Closes #7.
I don't think that `g` should be there