Skip to content

Commit

Permalink
feat(docker): Add lazydocker.nvim (#1176)
Browse files Browse the repository at this point in the history
* feat(docker): Add `lazydocker.nvim`

* fix(docker): Changing config to opts

* docs(lazydocker): Remove unnessecary line

* Apply suggestions from code review

fixs(lazydocker): Fix opts table

* fix(lazydocker): Remove prefix variable

---------

Co-authored-by: Uzair Aftab <[email protected]>
  • Loading branch information
Mourishitz and Uzaaft authored Aug 25, 2024
1 parent e9ca414 commit b2d1e01
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/docker/lazydocker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# lazydocker.nvim

A simple terminal UI for both docker and docker-compose.

**Repository**: <https://github.com/mgierada/lazydocker.nvim>
22 changes: 22 additions & 0 deletions lua/astrocommunity/docker/lazydocker/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
return {
{
"mgierada/lazydocker.nvim",
dependencies = {
"akinsho/toggleterm.nvim",
{
"AstroNvim/astrocore",
opts = {
mappings = {
n = {
["<Leader>t" .. "d"] = {
function() require("lazydocker").open() end,
desc = "ToggleTerm LazyDocker",
},
},
},
},
},
},
opts = {},
},
}

0 comments on commit b2d1e01

Please sign in to comment.