-
Hi,
Even when configured explicitly, e.g.
Any idea how to get this working? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
They work fine. FYI, Try using a minimal reproducible example. Check whether it works or not. If it doesn't, try using it in different terminals, with or without tmux (if you're using it). Just in case, update Neovim as well. -- nvim -u repro.lua repro.lua
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{
"folke/snacks.nvim",
keys = {
{ "<F1>", function() Snacks.picker.buffers() end },
},
opts = {
picker = {},
},
},
},
}) |
Beta Was this translation helpful? Give feedback.
-
@drowning-cat @dpetka2001 actually it is not related to nvim-tree as I initially thought. vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
vim.o.switchbuf = "usetab"
require("lazy.minit").repro({
spec = {
{
"folke/snacks.nvim",
keys = {
{
"<C-b>",
function()
Snacks.picker.buffers()
end,
},
{
"<C-s>",
function()
Snacks.picker.files()
end,
},
},
opts = {
picker = {},
},
},
},
})
|
Beta Was this translation helpful? Give feedback.
@drowning-cat @dpetka2001 actually it is not related to nvim-tree as I initially thought.
In my config I have this option set
switchbuf = "usetab"
. And this is causing the issue with the buffers picker: