:lockmarks doesn't appear to preserve these marks. They would need to be adjusted anyway due to the line numbers changing, so just set the marks to the start/end of the buffer. Signed-off-by: James McCoy <vega.james@gmail.com>