Neovim: added restore last session button to start screen
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
"okai": { "branch": "main", "commit": "b028c2916c39b1c4ad53756d262f9d0576edac87" },
|
||||
"overseer.nvim": { "branch": "master", "commit": "433ae548434d83ab3c6afe6afc549832f7dd56f1" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
|
||||
"project.nvim": { "branch": "main", "commit": "8c6bad7d22eef1b71144b401c9f74ed01526a4fb" },
|
||||
"spaceduck": { "branch": "main", "commit": "350491f19343b24fa85809242089caa02d4dadce" },
|
||||
"sqlite.lua": { "branch": "master", "commit": "d0ffd703b56d090d213b497ed4eb840495f14a11" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
|
||||
|
||||
@@ -53,6 +53,11 @@ return {
|
||||
dashboard.button('w', ' > Find file', '<cmd>cd ' .. find_file_path .. ' | Telescope find_files<cr>'),
|
||||
dashboard.button('r', ' > Recent', '<cmd>Telescope oldfiles<cr>'),
|
||||
dashboard.button('c', ' > Configuration', '<cmd>e $MYVIMRC<cr> | <cmd>cd %:p:h<cr>'),
|
||||
dashboard.button(
|
||||
's',
|
||||
' > Last Session',
|
||||
'<cmd>lua require("auto-session.session-lens.actions").alternate_session()<cr>'
|
||||
),
|
||||
dashboard.button('q', ' > Quit NVIM', '<cmd>qa<cr>'),
|
||||
}
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ return {
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
telescope.load_extension('ui-select')
|
||||
telescope.load_extension('fzf')
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user