Skip to content

Commit

Permalink
feat(openingh-nvim): added mappings to copy url
Browse files Browse the repository at this point in the history
  • Loading branch information
RayJameson committed Jan 23, 2024
1 parent 2a9f741 commit 696dad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/astrocommunity/git/openingh-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ return {
keys = {
{ prefix .. "o", "<cmd>OpenInGHRepo<CR>", desc = "Open git repo in web", mode = { "n" } },
{ prefix .. "f", "<cmd>OpenInGHFile<CR>", desc = "Open git file in web", mode = { "n" } },
{ prefix .. "F", "<cmd>OpenInGHFile+<CR>", desc = "Copy git file url", mode = { "n" } },
{ prefix .. "f", "<cmd>OpenInGHFileLines<CR>", desc = "Open git lines in web", mode = { "x" } },
{ prefix .. "F", "<cmd>OpenInGHFileLines+<CR>", desc = "Copy git lines url", mode = { "x" } },
},
}

0 comments on commit 696dad6

Please sign in to comment.