Add session managment to tmux and neovim

This commit is contained in:
Alexander Navarro 2023-10-30 16:43:53 -03:00
parent 58f515d9d0
commit 5898f6b5a6
7 changed files with 69 additions and 60 deletions

View file

@ -10,6 +10,7 @@ return {
"petertriho/cmp-git",
"hrsh7th/cmp-cmdline",
"saadparwaiz1/cmp_luasnip",
"L3MON4D3/LuaSnip",
},
config = function()
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })

View file

@ -1,16 +1,9 @@
return {
-- NOTE: First, some plugins that don't require any configuration
-- Detect tabstop and shiftwidth automatically
"tpope/vim-sleuth",
{
-- Autocompletion
"hrsh7th/nvim-cmp",
dependencies = { "hrsh7th/cmp-nvim-lsp", "L3MON4D3/LuaSnip", "saadparwaiz1/cmp_luasnip" },
},
{
-- Highlight word under cursor
"RRethy/vim-illuminate",
event = { "BufReadPost", "BufNewFile" },
opts = { delay = 200 },

View file

@ -0,0 +1,10 @@
return {
-- sessions
"rmagatti/auto-session",
config = function()
require("auto-session").setup({
log_level = "error",
auto_session_suppress_dirs = { "~/", "~/Downloads", "/" },
})
end,
}