A tiny Neovim plugin that shows the GitHub pull requests waiting on your review in a floating window.
It shells out to the GitHub CLI (gh), so there are no
tokens to configure: if you're already logged in to gh, it just works.
- Neovim 0.7+ (uses
vim.keymap.setandnvim_create_user_command) ghinstalled and authenticated (gh auth login)- macOS for the "open in browser" action (uses
open; see Notes)
With lazy.nvim:
{ "ian-yeh/doorbell.nvim" }With packer.nvim:
use "ian-yeh/doorbell.nvim"The plugin self-registers its command on load, so no setup() call is required.
Run the command:
:DoorbellA floating window opens listing every open PR that has requested your review,
one per line as repo | title | url.
| Key | Action |
|---|---|
<CR> |
Open the PR under the cursor in your browser |
q |
Close the window |
<Esc> |
Close the window |
Before querying, Doorbell checks that gh is installed and that you're logged
in, showing a helpful message in the float if either is missing.
Doorbell runs:
gh search prs --state open --review-requested @me --json url,title,repositoryand formats the results into the floating window. The query runs
asynchronously via jobstart, so it never blocks the editor.
- Linux/Windows: the
<CR>browser action uses macOS'sopen. On Linux, changeopentoxdg-openinlua/doorbell/init.lua(line is marked with a comment). - See
:help doorbellfor the bundled help doc.
MIT