# Open History Versions of Files in Git
## Metadata
**Status**:: #x
**Zettel**:: #zettel/fleeting
**Created**:: [[2025-11-04]]
**Tags**:: #git #vim #neovim
## Synopsis
Use [sindrets/diffview.nvim](https://github.com/sindrets/diffview.nvim):
1. Use `:[range]DiffviewFileHistory [paths] [options]` to open the file history
2. Select a commit to open the history version. The left window is the version before the commit.