Snacks Exporer misrepresents itself as floating window and breaks tmux-nvim navigation #1802
-
I have a LazyVim setup combined with tmux.nvim plugin with recommended settings. I suppose this happens because this func in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 17 replies
-
What do you want to ask?
All of these windows are floating, except for the |
Beta Was this translation helpful? Give feedback.
-
Some thoughts: based on @fastnded W/A created one, that works for me: opts = {
picker = {
actions = {
win_right = function(picker)
vim.api.nvim_command("wincmd l")
end,
},
sources = {
explorer = {
win = {
input = {
keys = {
["<C-l>"] = { "win_right", mode = { "i", "n" } }, -- W/A for tmux navigation
},
},
list = {
keys = {
["<C-l>"] = { "win_right", mode = { "i", "n" } }, -- W/A for tmux navigation
},
},
},
},
},
win = {
input = {
keys = {
["<C-j>"] = false, -- disable, conflicts with tmux navigation
["<C-k>"] = false, -- disable, conflicts with tmux navigation
},
},
list = {
keys = {
["<C-j>"] = false, -- disable, conflicts with tmux navigation
["<C-k>"] = false, -- disable, conflicts with tmux navigation
},
},
},
},
} This of course will only work if Explorer is located on the left. |
Beta Was this translation helpful? Give feedback.
You can override M.is_nvim_float: