Merge branch 'master' of git.nussnougate.net:sevi-kun/nvim

This commit is contained in:
Lord Of Nougate 2023-09-05 20:45:12 +02:00
commit d3dbe17ecf
2 changed files with 20 additions and 0 deletions

13
after/plugin/sessions.lua Normal file
View File

@ -0,0 +1,13 @@
require("auto-session").setup {
log_level = "error",
auto_session_suppress_dirs = { "~/", "~/Projects", "~/Downloads", "/"},
}
require('session-lens').setup({
path_display = {'shorten'},
theme_conf = { border = true },
previewer = false,
})
vim.keymap.set('n', '<leader>ss', ":SearchSession<CR>")

View File

@ -15,6 +15,13 @@ return require('packer').startup(function(use)
-- useful -- useful
use { 'rmagatti/auto-session' }
use {
'rmagatti/session-lens',
requires = {'rmagatti/auto-session', 'nvim-telescope/telescope.nvim'},
}
use { use {
'nvim-telescope/telescope.nvim', tag = '0.1.2', 'nvim-telescope/telescope.nvim', tag = '0.1.2',
requires = 'nvim-lua/plenary.nvim' requires = 'nvim-lua/plenary.nvim'