Stack Exchange network consists of 178 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a quick way to see the differences VIM is describing?
:!diff % %.tmp
Create a new window, read file from disk into it and show the differences. Kind of this
vnew +read\ # | windo diffthis
More complete version is discussed at :h diff-original-file. Also, a ton of variations in personal configs/gists/similar SO topics etc.
Required, but never shown