diff --git a/lua/lazyvim/plugins/extras/ui/codewindow-nvim.lua b/lua/lazyvim/plugins/extras/ui/codewindow-nvim.lua new file mode 100644 index 00000000..3decc163 --- /dev/null +++ b/lua/lazyvim/plugins/extras/ui/codewindow-nvim.lua @@ -0,0 +1,37 @@ +return { + { + "gorbit99/codewindow.nvim", + keys = { + { + "um", + function() + require("codewindow").toggle_minimap() + end, + desc = "Toggle minimap", + }, + }, + lazy = false, + opts = { + auto_enable = true, + minimap_width = 20, + width_multiplier = 2, + screen_bounds = "background", + window_border = "none", + relative = "win", + exclude_filetypes = { + "dashboard", + "neo-tree", + "lazy", + "lazyterm", + "mason", + "help", + "checkhealth", + "lspinfo", + "noice", + "Trouble", + "fish", + "zsh", + }, + }, + }, +}