diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 2c273c9..c5d10b8 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -21,6 +21,7 @@ "nvim-tree.lua": { "branch": "master", "commit": "40b9b887d090d5da89a84689b4ca0304a9649f62" }, "nvim-treesitter": { "branch": "master", "commit": "9c4fc86b67c1d68141cef57846d24cbee9b74fb0" }, "nvim-web-devicons": { "branch": "master", "commit": "3af745113ea537f58c4b1573b64a429fefad9e07" }, + "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" }, "plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" }, "presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" }, "project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" }, diff --git a/nvim/lua/plugins/alpha.lua b/nvim/lua/plugins/alpha.lua index 7b3b034..5135985 100644 --- a/nvim/lua/plugins/alpha.lua +++ b/nvim/lua/plugins/alpha.lua @@ -39,7 +39,7 @@ return { } dashboard.section.buttons.val = { dashboard.button("n", " New file", ":ene startinsert "), - dashboard.button("o", " Open file", ":Telescope old_files"), + dashboard.button("o", " Open file", ":Telescope oldfiles"), dashboard.button("s", " Settings", ":e ~/.config/nvim"), dashboard.button("q", " Quit", ":qa"), } diff --git a/nvim/lua/plugins/sessions.lua b/nvim/lua/plugins/sessions.lua new file mode 100644 index 0000000..c51bf21 --- /dev/null +++ b/nvim/lua/plugins/sessions.lua @@ -0,0 +1,4 @@ +return { + "folke/persistence.nvim", + event = "BufReadPre", +}