Use code minimap and store sessions

This commit is contained in:
Fabian Missbrenner 2025-02-19 10:32:56 +01:00
parent e208fea658
commit 8b7305f14b
3 changed files with 37 additions and 11 deletions

View file

@ -0,0 +1,12 @@
return {
'rmagatti/auto-session',
lazy = false,
---enables autocomplete for opts
---@module "auto-session"
---@type AutoSession.Config
opts = {
suppressed_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
-- log_level = 'debug',
}
}

View file

@ -0,0 +1,12 @@
return {
'wfxr/minimap.vim',
build = 'cargo install --locked code-minimap',
-- lazy = false,
enable = false,
cmd = { 'Minimap', 'MinimapClose', 'MinimapToggle', 'MinimapRefresh', 'MinimapUpdateHighlight' },
init = function()
vim.cmd 'let g:minimap_width = 10'
vim.cmd 'let g:minimap_auto_start = 1'
vim.cmd 'let g:minimap_auto_start_win_enter = 1'
end,
}