Update README.md
This commit is contained in:
committed by
Dheepak Krishnamurthy
parent
0ada6c6e7e
commit
ad3e1ea592
40
README.md
40
README.md
@@ -32,27 +32,25 @@ Install using [`lazy.nvim`](https://github.com/folke/lazy.nvim):
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
-- nvim v0.8.0
|
-- nvim v0.8.0
|
||||||
require("lazy").setup({
|
return {
|
||||||
{
|
"kdheepak/lazygit.nvim",
|
||||||
"kdheepak/lazygit.nvim",
|
cmd = {
|
||||||
cmd = {
|
"LazyGit",
|
||||||
"LazyGit",
|
"LazyGitConfig",
|
||||||
"LazyGitConfig",
|
"LazyGitCurrentFile",
|
||||||
"LazyGitCurrentFile",
|
"LazyGitFilter",
|
||||||
"LazyGitFilter",
|
"LazyGitFilterCurrentFile",
|
||||||
"LazyGitFilterCurrentFile",
|
},
|
||||||
},
|
-- optional for floating window border decoration
|
||||||
-- optional for floating window border decoration
|
dependencies = {
|
||||||
dependencies = {
|
"nvim-lua/plenary.nvim",
|
||||||
"nvim-lua/plenary.nvim",
|
},
|
||||||
},
|
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
-- order to load the plugin when the command is run for the first time
|
||||||
-- order to load the plugin when the command is run for the first time
|
keys = {
|
||||||
keys = {
|
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
|
||||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" }
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
})
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Feel free to use any plugin manager.
|
Feel free to use any plugin manager.
|
||||||
|
|||||||
Reference in New Issue
Block a user