add folke/snacks plugin
add keybinding ctrl-w d to close buffer without closing window
This commit is contained in:
parent
b341a42762
commit
ef1029c595
2 changed files with 20 additions and 0 deletions
19
init.lua
19
init.lua
|
|
@ -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({ ... })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue