Skip to content

Commit

Permalink
nvim(openingh): add copy url maps
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Jan 30, 2024
1 parent 674a31a commit ff223c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/config/nvim/lua/plugins/openingh.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ return {
"Almo7aya/openingh.nvim",
keys = {
{ "<leader>gr", ":OpenInGHRepo<cr>", desc = "Open Repo" },
{ "<leader>gcr", ":OpenInGHRepo+<cr>", desc = "Copy URL to Repo" },
{ "<leader>gf", ":OpenInGHFile!<cr>", desc = "Open File in Repo (Current Commit)" },
{ "<leader>gcf", ":OpenInGHFile!+<cr>", desc = "Copy URL to File in Repo (Current Commit)" },
{ "<leader>gf", ":OpenInGHFile!<cr>", desc = "Open File in Repo (Current Commit)", mode = "v" },
{ "<leader>gcf", ":OpenInGHFile!+<cr>", desc = "Copy URL to File in Repo (Current Commit)", mode = "v" },
{ "<leader>gF", ":OpenInGHFile<cr>", desc = "Open File in Repo" },
{ "<leader>gcF", ":OpenInGHFile+<cr>", desc = "Copy URL to File in Repo" },
{ "<leader>gF", ":OpenInGHFile<cr>", desc = "Open File in Repo", mode = "v" },
{ "<leader>gcF", ":OpenInGHFile+<cr>", desc = "Copy URL to File in Repo", mode = "v" },
},
},
}

0 comments on commit ff223c7

Please sign in to comment.