Skip to content

Neovim Plugin to fetch github pull request information of a line

License

Notifications You must be signed in to change notification settings

kamrul1157024/nvim-pr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

nvim-pr

This plugins shows github pull request information of the current line.It will look for the Pull request on the added remote repositories.

Prerequisite

To use this plugin gh needed to be set up.

Shortcuts

KeyBinding cursor Mode Description
<CR>(Enter) popup Normal To open it on the browser press while cursor on the popup.
q popup Normal Quit from popup while cursor on the popup.

Preview

nvim-pr-screenshot

setup:

{
  "kamrul1157024/nvim-pr",
  config = function()
    require("nvim-pr").setup()
    vim.keymap.set("n", "<leader>gprv", ":PR open<CR>", { desc = "View PR in the editor" })
    vim.keymap.set("n", "<leader>gprb", ":PR open_in_browser<CR>", { desc = "Open PR in the browser" })
  end,
  dependencies = {
    "MunifTanjim/nui.nvim",
    "nvim-lua/plenary.nvim",
  },
}

About

Neovim Plugin to fetch github pull request information of a line

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages