diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-02-24 13:02:24 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-02-24 13:02:24 +0200 |
| commit | 39298e2ca705bbee51aab08d520e2f0ac3cf7dfb (patch) | |
| tree | 726be2bd6d42fc8205d7ebd0338fe1093b27aeaa | |
| parent | 957514d3fbbe2e1c36df506e69abe289553650e0 (diff) | |
| download | dotfiles-39298e2ca705bbee51aab08d520e2f0ac3cf7dfb.tar.gz dotfiles-39298e2ca705bbee51aab08d520e2f0ac3cf7dfb.zip | |
Add minimap configuration
| -rw-r--r-- | lua/plugins/minimap.lua | 11 |
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', +}) |
