add more plugins
This commit is contained in:
parent
d8aaee5fb0
commit
f04fdc021f
4 changed files with 77 additions and 18 deletions
|
|
@ -5,6 +5,16 @@ return {
|
|||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
},
|
||||
config = function()
|
||||
require('alpha').setup(require('alpha.themes.dashboard').config)
|
||||
local dashboard = require("alpha.themes.dashboard")
|
||||
dashboard.section.buttons.val = {
|
||||
dashboard.button("f", " " .. " Find file", ":Telescope find_files <CR>"),
|
||||
dashboard.button("n", " " .. " New file", ":ene <BAR> startinsert <CR>"),
|
||||
dashboard.button("r", " " .. " Recent files", ":Telescope oldfiles <CR>"),
|
||||
dashboard.button("g", " " .. " Find text", ":Telescope live_grep <CR>"),
|
||||
dashboard.button("c", " " .. " Config", ":e $MYVIMRC <CR>"),
|
||||
dashboard.button("s", " " .. " Restore Session", [[:lua require("persistence").load() <cr>]]),
|
||||
dashboard.button("q", " " .. " Quit", ":qa<CR>"),
|
||||
}
|
||||
require('alpha').setup(dashboard.opts)
|
||||
end,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue