Update the readme

This commit is contained in:
Maximilian Friedersdorff 2024-10-22 10:29:08 +01:00
parent 298fa387c8
commit 763b730ee9

View file

@ -31,6 +31,30 @@ require("packer").startup(function()
end) end)
``` ```
#### Example with lazyvim
```lua
return {
{
"https://gitea.gwairfelin.com/max/openingh.nvim",
keys = {
{
"<leader>gB",
"<cmd>OpenInGHFile!<cr>",
desc = "Open this file in the git remote",
},
{
"<leader>gB",
"<cmd>'<,'>OpenInGHFileLines!<cr>",
desc = "Open these lines in the git remote",
mode = "v",
},
},
},
}
```
## Commands ## Commands
- `:OpenInGHRepo` - `:OpenInGHRepo`