✨ feat(nvim): git option at dashboard
This commit is contained in:
parent
24ecf6ac67
commit
2f2070b01d
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ return {
|
||||||
dashboard.button("r", " " .. " Recent files", "<cmd> Telescope oldfiles <cr>"),
|
dashboard.button("r", " " .. " Recent files", "<cmd> Telescope oldfiles <cr>"),
|
||||||
dashboard.button("p", " " .. " Projects", "<cmd>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("G", " " .. " Git", "<cmd>FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> lazygit<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("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>]]),
|
||||||
|
|
Loading…
Add table
Reference in a new issue