junegunn / junegunn/vim-plug

fugitive compatibility for viewing commits in PlugDiff

Open
#1,278 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
35.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

In `:PlugDiff`, it's possible to hit enter on a given commit to view its content:

image

[fugitive.vim](https://github.com/tpope/vim-fugitive/) has a very similar feature for viewing commits, but with extra features like being able to browse to other commits and files, and with [rhubarb.vim](https://github.com/tpope/vim-rhubarb/) and others, to open the equivalent forge URL e.g. on GitHub.

It'd be cool if vim-plug used fugitive to view commits when it's available.

```
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"
```

- Type:
- [ ] Bug
- [x] Enhancement
- [x] Feature Request
- [ ] Question
- OS:
- [x] All/Other
- [ ] Linux
- [ ] macOS
- [ ] Windows
- Vim:
- [x] Terminal Vim
- [x] GVim
- [x] Neovim

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.