Replies: 3 comments 2 replies
-
This is already possible with |
Beta Was this translation helpful? Give feedback.
-
@echasnovski I did notice that it takes effect only on the next refresh as well. I tried
|
Beta Was this translation helpful? Give feedback.
-
I stumbled upon this thread and have something very similar in my config vim.api.nvim_create_autocmd("User", {
pattern = "MiniFilesBufferCreate",
callback = function(args)
vim.keymap.set("n", "<C-p>", function()
MiniFiles = require("mini.files")
MiniFiles.config.windows.preview = not MiniFiles.config.windows.preview
MiniFiles.refresh({ windows = { preview = MiniFiles.config.windows.preview } })
end, { desc = "toggle preview" })
end,
}) This works but the only issue I see is that when preview is turned off the mini.mp4 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Would you consider adding a command to toggle preview panel?
Beta Was this translation helpful? Give feedback.
All reactions