Heteroatom-promoted lateral lithiation