various plugin changes to make notes work
This commit is contained in:
parent
d5aaa05aca
commit
06c5d2415e
11 changed files with 131 additions and 56 deletions
39
lua/custom/plugins/dashboard.lua
Normal file
39
lua/custom/plugins/dashboard.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
return {
|
||||
'nvimdev/dashboard-nvim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
require('dashboard').setup {
|
||||
theme = 'hyper',
|
||||
config = {
|
||||
week_header = {
|
||||
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 = ' Daily Note',
|
||||
group = 'DiagnosticHint',
|
||||
action = 'ObsidianToday',
|
||||
key = 'o',
|
||||
},
|
||||
{
|
||||
desc = ' New File',
|
||||
group = 'Number',
|
||||
action = 'enew',
|
||||
key = 'n',
|
||||
},
|
||||
},
|
||||
},
|
||||
shortcut_type = 'number',
|
||||
}
|
||||
end,
|
||||
dependencies = { { 'nvim-tree/nvim-web-devicons' } },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue