As a command, type
:%s/^M$//
(To get ^M, press ^V ^M, where ^ is CTRL on most keyboards)
More Related Contents:
- What characters are forbidden in Windows and Linux directory names?
- How can I determine whether a specific file is open in Windows? [closed]
- How to convert Windows end of line in Unix end of line (CR/LF to LF)
- What is the difference between mutex and critical section?
- System Calls in windows & Native API?
- Why is creating a new process more expensive on Windows than Linux?
- Concurrency in a GIT repo on a network shared folder
- Does Windows have Inode Numbers like Linux?
- Adding a directory to the PATH environment variable in Windows
- How do I run two commands in one line in Windows CMD?
- Git symbolic links in Windows
- Parallel execution of shell processes
- Generating a unique machine id
- How to smooth ugly jitter/flicker/jumping when resizing windows, especially dragging left/top border (Win 7-10; bg, bitblt and DWM)?
- Prevent windows from going into sleep when my program is running?
- How can I create an empty file at the command line in Windows?
- Is there replacement for cat on Windows
- How do I automatically destroy child processes in Windows?
- Python virtualenv questions
- Why does CreateProcess give error 193 (%1 is not a valid Win32 app)
- What is the Windows equivalent of the diff command?
- Why is the FOR /f loop in this batch script evaluating a blank line?
- Do threads have a distinct heap?
- Uninstall without an MSI file
- Preserve line endings
- Embedding Windows Media Player for all browsers
- NLTK v3.2: Unable to nltk.pos_tag()
- Using echo y as an automated response to a pcp hostkey prompt
- MongoDB database deleted automatically
- Windows shortcut to run a Git Bash script