duplicate the line you just wrote vim code example Example: vim copy line below y y then d d to delete p to paste