Add neovim dashboard and which-key plugins

This commit is contained in:
2026-07-15 18:24:20 +02:00
parent cc411cbf2b
commit a68000970e
3 changed files with 59 additions and 1 deletions
+18 -1
View File
@@ -206,10 +206,27 @@ require("packer").startup(function(use)
end,
})
-- Show available keymaps as you type prefixes.
use({
"folke/which-key.nvim",
config = function()
require("tracer.plugins.which-key")
end,
})
-- Startup dashboard
use({
"nvimdev/dashboard-nvim",
event = "VimEnter",
requires = { "nvim-tree/nvim-web-devicons" },
config = function()
require("tracer.plugins.dashboard")
end,
})
-- Fuzzy finder
use({
"nvim-telescope/telescope.nvim",
tag = "0.2.2",
requires = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
+35
View File
@@ -0,0 +1,35 @@
local ok, dashboard = pcall(require, "dashboard")
if not ok then
return
end
dashboard.setup({
theme = "hyper",
config = {
week_header = {
enable = true,
},
shortcut = {
{
desc = "󰊳 Update",
group = "@property",
action = "PackerSync",
key = "u",
},
{
icon = "",
icon_hl = "@variable",
desc = "Files",
group = "Label",
action = "Telescope find_files",
key = "f",
},
{
desc = " Quit",
group = "DiagnosticHint",
action = "qa",
key = "q",
},
},
},
})
+6
View File
@@ -0,0 +1,6 @@
local ok, which_key = pcall(require, "which-key")
if not ok then
return
end
which_key.setup({})