autosessions

This commit is contained in:
serxoz 2022-11-25 09:44:46 +01:00
parent 56980d867c
commit dd51e696db
2 changed files with 21 additions and 0 deletions

View File

@ -76,4 +76,15 @@ return require("packer").startup(function(use)
"windwp/nvim-autopairs", "windwp/nvim-autopairs",
config = function() require("nvim-autopairs").setup {} end config = function() require("nvim-autopairs").setup {} end
} }
-- Autosessions (save sessions)
use {
'rmagatti/auto-session',
config = function()
require("auto-session").setup {
log_level = "error",
auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/"},
}
end
}
end) end)

View File

@ -79,6 +79,12 @@ _G.packer_plugins = {
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/LuaSnip", path = "/home/sergio/.local/share/nvim/site/pack/packer/start/LuaSnip",
url = "https://github.com/L3MON4D3/LuaSnip" url = "https://github.com/L3MON4D3/LuaSnip"
}, },
["auto-session"] = {
config = { "\27LJ\2\n\1\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\1K\0\1\0\31auto_session_suppress_dirs\1\5\0\0\a~/\15~/Projects\16~/Downloads\6/\1\0\1\14log_level\nerror\nsetup\17auto-session\frequire\0" },
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/auto-session",
url = "https://github.com/rmagatti/auto-session"
},
["bufferline.nvim"] = { ["bufferline.nvim"] = {
loaded = true, loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/bufferline.nvim", path = "/home/sergio/.local/share/nvim/site/pack/packer/start/bufferline.nvim",
@ -243,6 +249,10 @@ time([[Defining packer_plugins]], false)
time([[Config for nvim-autopairs]], true) time([[Config for nvim-autopairs]], true)
try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs")
time([[Config for nvim-autopairs]], false) time([[Config for nvim-autopairs]], false)
-- Config for: auto-session
time([[Config for auto-session]], true)
try_loadstring("\27LJ\2\n\1\0\0\4\0\6\0\t6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0005\3\4\0=\3\5\2B\0\2\1K\0\1\0\31auto_session_suppress_dirs\1\5\0\0\a~/\15~/Projects\16~/Downloads\6/\1\0\1\14log_level\nerror\nsetup\17auto-session\frequire\0", "config", "auto-session")
time([[Config for auto-session]], false)
_G._packer.inside_compile = false _G._packer.inside_compile = false
if _G._packer.needs_bufread == true then if _G._packer.needs_bufread == true then