Closed GustavoKatel closed 3 months ago
open
toggle
on_open
This is what I have in my config right now:
require("edgy").toggle({ focus = false, on_open = function() vim.cmd("wincmd =") end })
https://github.com/folke/edgy.nvim/discussions/71
Edgy doesn't set focus. You can easily choose a window yourself after opening edgy in vim.schedule.
vim.schedule
vim.cmd("wincmd =") will also cause issues btw..
vim.cmd("wincmd =")
What is this PR for?
open
/toggle
to open without focus (restoring focus to the last windowon_open
callbacks to edgebars and viewsThis is what I have in my config right now:
Does this PR fix an existing issue?
https://github.com/folke/edgy.nvim/discussions/71