Open relausen opened 1 month ago
I think it would be nice. I will happy if you contribute
Alright, I will give it a go :-)
Since the “pure” lazy load feature sounds like it’s an important feature of this project, I should note that I could only get it to work when not lazy loading, as is also the case with the smart-splits.nvim
project: https://github.com/mrjones2014/smart-splits.nvim?tab=readme-ov-file#wezterm
Is this a showstopper for you?
Since the “pure” lazy load feature sounds like it’s an important feature of this project, I should note that I could only get it to work when not lazy loading, as is also the case with the
smart-splits.nvim
project: https://github.com/mrjones2014/smart-splits.nvim?tab=readme-ov-file#weztermIs this a showstopper for you?
Have another issue and work around by use Title name. https://github.com/letieu/wezterm-move.nvim/issues/1
I still want keep the pure lazy load :))
No worries - it’s perfectly understandable. I’ll just use my fork - the increased startup time is barely measurable with the small codebase here :-). I don’t like changing my pane titles or depending on it in plugin code.
The setup is based on using WezTerm’s
pane:get_foreground_process_info()
which is not working when using the multiplexer (https://wezfurlong.org/wezterm/multiplexing.html).One solution for this is to use WezTerm’s user vars, as suggested by Wez himself here: https://github.com/wez/wezterm/discussions/3648#discussioncomment-5768342
I have made a test implementation of this in a fork of this repo, and it seems to work fine for me - at least using Unix domains. If you think it will be a good idea to change to this method I would be happy to contribute.