how to make vim show ^M and substitute it March 27, 2023 by Tarik Display CRLF as ^M: :e ++ff=unix Substitute CRLF for LF: :setlocal ff=unix :w :e