revman.nvim is a Neovim plugin that streamlines your GitHub pull request review workflow—especially when paired with Octo.nvim. Its primary purpose is to help you track and manage PRs that are waiting for your review, across multiple repositories, all from inside Neovim.
The core workflow is simple:
And it also includes features like analytics and advanced filtering - handy extras to help you stay organized and productive!
Add your repo:
Use :RevmanAddRepo in your project directory to register the current repo.
Sync PRs:
Run :RevmanSyncAllPRs to fetch PRs from GitHub into a local SQLite database.
Browse & Filter:
Use Telescope-powered commands like :RevmanListOpenPRs or :RevmanListPRs to find and select PRs.
Review & Take Notes:
Open a PR for review with :RevmanReviewPR (opens in Octo.nvim if installed).
Add or edit notes with :RevmanAddNote.
Track Status:
Update PR review status with :RevmanSetStatus.
Stay Up to Date:
Enable background sync with :RevmanEnableBackgroundSync to keep your PR list fresh.
Requirements:
gh) (must be installed and authenticated)A Picker is strongly recommended. Supported pickers:
Example (Lazy.nvim):
{
"3ZsForInsomnia/revman.nvim",
dependencies = {
"kkharji/sqlite.lua",
"pwntester/octo.nvim",
},
config = true,
}
Call require("revman").setup() in your config.
Example:
require("revman").setup({
database_path = vim.fn.stdpath("state") .. "/revman/revman.db",
data_retention_days = 30, -- days to keep PRs (0 = keep forever)
background_sync_frequency = 15, -- minutes between background syncs (0 = disable)
picker = "vimSelect", -- "vimSelect", "telescope", or "snacks"
log_level = "warn", -- "info", "warn", or "error"
})
| Command | Description |
|---|---|
:RevmanAddRepo |
Add current repo to tracking |
:RevmanSyncAllPRs |
Sync all PRs for the current repo |
:RevmanListPRs |
List all PRs (Telescope picker) |
:RevmanListOpenPRs |
List open PRs (Telescope picker) |
:RevmanListMergedPRs |
List merged PRs (Telescope picker) |
:RevmanReviewPR |
Mark PR as reviewed and open for review |
:RevmanSetStatus |
Set review status for a PR |
:RevmanAddNote |
Add or edit a note for a PR |
:RevmanShowNotes |
Browse PR notes (Telescope picker) |
:RevmanEnableBackgroundSync |
Enable background PR sync |
:RevmanDisableBackgroundSync |
Disable background PR sync |
For full details and advanced usage, see :help revman.