only use viusal-line-mode in text mode buffers