numToStr / Navigator.nvim

:sparkles: Smoothly navigate between neovim and terminal multiplexer(s) :sparkles:
MIT License
391 stars 21 forks source link

Add WezTerm zoom support #28

Open strptrk opened 1 year ago

strptrk commented 1 year ago

Hi, this change aims to add WezTerm:zoomed(), similar to Tmux:zoomed().

The reason why I went with that cryptic regex is that I did not want to introduce a jq dependency to the plugin, while usually grep can be found on every computer. I am not sure about whether this would work on Windows, but I guess if somebody wants it, they can also create a pull request for it.

robsonpeixoto commented 1 year ago

Maybe you could use vim.json.decode to parse the json: https://neovim.io/doc/user/lua.html#vim.json

strptrk commented 1 year ago

Thank you for the suggestion, @robsonpeixoto. I have updated the pull request.