diff options
Diffstat (limited to '.config/nvim/lua/plugins/dashboard.lua')
-rw-r--r-- | .config/nvim/lua/plugins/dashboard.lua | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/dashboard.lua b/.config/nvim/lua/plugins/dashboard.lua new file mode 100644 index 0000000..074d3f5 --- /dev/null +++ b/.config/nvim/lua/plugins/dashboard.lua | |||
@@ -0,0 +1,36 @@ | |||
1 | return { | ||
2 | { | ||
3 | 'glepnir/dashboard-nvim', | ||
4 | event = 'VimEnter', | ||
5 | config = function() | ||
6 | require('dashboard').setup { | ||
7 | theme = 'hyper', | ||
8 | change_to_vcs_root = true, | ||
9 | config = { | ||
10 | week_header = { | ||
11 | enable = true, | ||
12 | }, | ||
13 | shortcut = { | ||
14 | { | ||
15 | desc = ' Update', group = '@property', action = 'Lazy update', key = 'u', | ||
16 | }, | ||
17 | { | ||
18 | icon = ' ', | ||
19 | icon_hl = '@variable', | ||
20 | desc = 'Files', | ||
21 | group = 'Label', | ||
22 | action = 'Telescope find_files', | ||
23 | key = 'f', | ||
24 | }, | ||
25 | }, | ||
26 | }, | ||
27 | |||
28 | } | ||
29 | end, | ||
30 | dependencies = { | ||
31 | { | ||
32 | 'nvim-tree/nvim-web-devicons' | ||
33 | } | ||
34 | } | ||
35 | } | ||
36 | } | ||