add folke/snacks plugin

add keybinding ctrl-w d to close buffer without closing window
This commit is contained in:
David Hendén 2024-12-06 14:14:11 -04:00
parent b341a42762
commit ef1029c595
2 changed files with 20 additions and 0 deletions

View file

@ -120,6 +120,25 @@ require('lazy').setup({
-- Use `opts = {}` to force a plugin to be loaded.
--
{
'folke/snacks.nvim',
priority = 1000,
lazy = false,
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
bigfile = { enabled = true },
dashboard = { enabled = true },
notifier = {
enabled = true,
timeout = 3000,
},
quickfile = { enabled = true },
statuscolumn = { enabled = true },
words = { enabled = true },
},
},
-- Here is a more advanced example where we pass configuration
-- options to `gitsigns.nvim`. This is equivalent to the following Lua:
-- require('gitsigns').setup({ ... })