Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • 8
    @luc-hermitte Isn't the alternative :w !diff % - superior when you're using vim on an everchanging and large number of boxes that you can't easily change the .vimrc for? (Provided they have diff installed.)
    – thomanski
    Commented Jan 10, 2012 at 13:59
  • 1
    Vim is not the tool of the last hope. The one that will work when nothing else is available. It is my main working tool. Commented Jan 11, 2012 at 17:39
  • 12
    Just supplying a link is not really an answer
    – Skurpi
    Commented Feb 20, 2014 at 11:03
  • 3
    Chaos's answer is superior and in Tobias's answer, the explanation is complete.
    – Avi Cohen
    Commented Apr 16, 2014 at 15:00
  • 1
    Can you please add some content instead of just a link? SO guidelines... Commented Sep 7, 2016 at 8:08