feat(nvim): added dotfiles section to alpha dashboard

This commit is contained in:
Sergio Laín 2023-10-24 00:19:30 +02:00
parent c785bd1ee4
commit 4e60ddc63a
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -33,9 +33,10 @@ return {
dashboard.button("f", "" .. " Find file", "<cmd> Telescope find_files <cr>"), dashboard.button("f", "" .. " Find file", "<cmd> Telescope find_files <cr>"),
dashboard.button("n", "" .. " New file", "<cmd> ene <BAR> startinsert <cr>"), dashboard.button("n", "" .. " New file", "<cmd> ene <BAR> startinsert <cr>"),
dashboard.button("r", "" .. " Recent files", "<cmd> Telescope oldfiles <cr>"), dashboard.button("r", "" .. " Recent files", "<cmd> Telescope oldfiles <cr>"),
dashboard.button("p", "" .. " Projects", ":Telescope projects <CR>"), dashboard.button("p", "" .. " Projects", "<cmd>Telescope projects <CR>"),
dashboard.button("g", "" .. " Find text", "<cmd> Telescope live_grep <cr>"), dashboard.button("g", "" .. " Find text", "<cmd> Telescope live_grep <cr>"),
dashboard.button("c", "" .. " Config", "<cmd> lua require('lazyvim.util').telescope.config_files()() <cr>"), dashboard.button("c", "" .. " Config", "<cmd> lua require('lazyvim.util').telescope.config_files()() <cr>"),
dashboard.button("d", "󰉦 " .. " Dotfiles", "<cmd>FloatermNew --disposable --name=dots --opener=edit --titleposition=center --height=0.85 --width=0.85 dots<CR>"),
dashboard.button("s", "" .. " Restore Session", [[<cmd> lua require("persistence").load() <cr>]]), dashboard.button("s", "" .. " Restore Session", [[<cmd> lua require("persistence").load() <cr>]]),
dashboard.button("e", "" .. " Lazy Extras", "<cmd> LazyExtras <cr>"), dashboard.button("e", "" .. " Lazy Extras", "<cmd> LazyExtras <cr>"),
dashboard.button("l", "󰒲 " .. " Lazy", "<cmd> Lazy <cr>"), dashboard.button("l", "󰒲 " .. " Lazy", "<cmd> Lazy <cr>"),