vim-versions useful interface for version control. depends unite.vim https://github.com/Shougo/unite.vim usage following command is available if current buffer was under version control. :UniteVersions