aa
This commit is contained in:
parent
df9e7704e4
commit
61a0083ebc
1 changed files with 27 additions and 10 deletions
|
@ -100,17 +100,34 @@ local plugins = {
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
}, --your header
|
}, --your header
|
||||||
shortcut = {
|
config = {
|
||||||
-- action can be a function type
|
week_header = {
|
||||||
{ desc = string, group = 'highlight group', key = 'shortcut key', action = 'action when you press key' },
|
enable = true,
|
||||||
|
},
|
||||||
|
shortcut = {
|
||||||
|
{ desc = ' Update', group = '@property', action = 'Lazy update', key = 'u' },
|
||||||
|
{
|
||||||
|
icon = ' ',
|
||||||
|
icon_hl = '@variable',
|
||||||
|
desc = 'Files',
|
||||||
|
group = 'Label',
|
||||||
|
action = 'Telescope find_files',
|
||||||
|
key = 'f',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
desc = ' Apps',
|
||||||
|
group = 'DiagnosticHint',
|
||||||
|
action = 'Telescope app',
|
||||||
|
key = 'a',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
desc = ' dotfiles',
|
||||||
|
group = 'Number',
|
||||||
|
action = 'Telescope dotfiles',
|
||||||
|
key = 'd',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
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 = '', },
|
|
||||||
footer = {}, -- footer
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Reference in a new issue