Adds dashboard and telescope-ui-select
This commit is contained in:
parent
0ebf26b49c
commit
dbf9c5783f
7 changed files with 229 additions and 192 deletions
24
lua/custom/plugins/dashboard.lua
Normal file
24
lua/custom/plugins/dashboard.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
return {
|
||||
{
|
||||
'nvimdev/dashboard-nvim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
require('dashboard').setup {
|
||||
-- config = {
|
||||
-- shortcut = {
|
||||
-- -- action can be a function type
|
||||
-- { desc = string, group = 'highlight group', key = 'shortcut key', action = 'action when you press key' },
|
||||
-- },
|
||||
-- packages = { enable = true }, -- show how many plugins neovim loaded
|
||||
-- -- limit how many projects list, action when you press key or enter it will run this action.
|
||||
-- -- action can be a functino type, e.g.
|
||||
-- -- action = func(path) vim.cmd('Telescope find_files cwd=' .. path) end
|
||||
-- project = { enable = true, limit = 8, icon = 'your icon', label = '', action = 'Telescope find_files cwd=' },
|
||||
-- mru = { limit = 10, icon = 'your icon', label = '', cwd_only = false },
|
||||
-- footer = {}, -- footer
|
||||
-- }
|
||||
}
|
||||
end,
|
||||
dependencies = { { 'nvim-tree/nvim-web-devicons' } }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue