maintain visual mode on preview