Closed jamylak closed 7 months ago
@jamylak nvim-window's purpose is to just switch windows, nothing more and nothing less. So what exactly is the use-case here that can't be addressed using autocmd
events, such as TermEnter
or WinEnter
?
I just realized these changes are even more redundant: the pick
method is synchronous, so if you need some kind of "after" hook you can just do this in your mapping like so:
vim.keymap.set(..., function()
require('nvim-window').pick()
... after logic here ...
end)
As such I'm going to close this pull request.
I just realized these changes are even more redundant: the
pick
method is synchronous, so if you need some kind of "after" hook you can just do this in your mapping like so:vim.keymap.set(..., function() require('nvim-window').pick() ... after logic here ... end)
As such I'm going to close this pull request.
oh cool completely missed that will try it
nvim-window
by providing a callback after a jump