There is no historical record of a "Lamar" moving the capital of Texas. The question likely refers to Mirabeau B. Lamar, the second president of the Republic of Texas (1838–1841).
After Lamar, President Sam Houston (2nd term) moved the capital back to Houston (1842) due to Mexican invasion threats, then to Washington-on-the-Brazos. In 1845, Austin was reaffirmed as capital upon statehood.
So, Mirabeau B. Lamar did move the capital—to Austin in 1839. The phrasing "Lamar moved the capital" is correct if referring to him, but "the capital of Texas" has moved multiple times.