# :DiffOrig but smarter This is an enhanced version of the snippet provided under `:help diff-original-file`. Where the original `:DiffOrig` only shows differences between the buffer in memory and the file on disk, `:Diff` can be used in two ways: * against the file on disk, like the original, with: :Diff * against an arbitrary Git revision of the current file, with: :Diff HEAD --- [My Vim-related gists](https://gist.github.com/romainl/4b9f139d2a8694612b924322de1025ce).