Update the readme
This commit is contained in:
parent
298fa387c8
commit
763b730ee9
1 changed files with 24 additions and 0 deletions
24
README.md
24
README.md
|
|
@ -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`
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue