aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-02-24 13:02:24 +0200
committersrdusr <trevorgray@srdusr.com>2023-02-24 13:02:24 +0200
commit39298e2ca705bbee51aab08d520e2f0ac3cf7dfb (patch)
tree726be2bd6d42fc8205d7ebd0338fe1093b27aeaa /lua
parent957514d3fbbe2e1c36df506e69abe289553650e0 (diff)
downloaddotfiles-39298e2ca705bbee51aab08d520e2f0ac3cf7dfb.tar.gz
dotfiles-39298e2ca705bbee51aab08d520e2f0ac3cf7dfb.zip
Add minimap configuration
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/minimap.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/minimap.lua b/lua/plugins/minimap.lua
new file mode 100644
index 0000000..d4114da
--- /dev/null
+++ b/lua/plugins/minimap.lua
@@ -0,0 +1,11 @@
+vim.cmd([[
+ let g:minimap_width = 30
+ "let g:minimap_auto_start = 1
+ "let g:minimap_auto_start_win_enter = 1
+]])
+vim.api.nvim_create_autocmd('QuitPre', {
+ pattern = '*',
+ desc = 'Close minimap on exit',
+ -- group = group,
+ command = 'MinimapClose',
+})