From 5bc72a6fb3feb5de41d993ac7f131feed40de3e9 Mon Sep 17 00:00:00 2001 From: Job79 Date: Sun, 24 Nov 2024 10:34:24 +0100 Subject: [PATCH] fix: disable snacks dashboard --- config/nvim/config/keymaps.lua | 1 + config/nvim/plugins/disabled.lua | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/nvim/config/keymaps.lua b/config/nvim/config/keymaps.lua index 0b356f4..a0168d0 100644 --- a/config/nvim/config/keymaps.lua +++ b/config/nvim/config/keymaps.lua @@ -13,6 +13,7 @@ keymap("v", "L", "$", opts) -- Better escape keymap("n", "", ":noh", opts) +keymap("t", "", "", opts) -- Disable alt j/k to move lines delkeymap({ "i", "v" }, "") diff --git a/config/nvim/plugins/disabled.lua b/config/nvim/plugins/disabled.lua index cfb2ea4..d57c39a 100644 --- a/config/nvim/plugins/disabled.lua +++ b/config/nvim/plugins/disabled.lua @@ -1,8 +1,10 @@ -- Disable some unneeded plugins by default. return { { - "nvimdev/dashboard-nvim", - enabled = false, + "folke/snacks.nvim", + opts = function(_, opts) + opts.dashboard = { enabled = false } + end, }, { "bufferline.nvim",