-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically resize ataraxis mode on VimResize #53
Comments
Good idea, I'll add it! But I don't think I'll make it to "run TZAtaraxisOff and then TZAtaraxisOn when nv was resized". I did test that but I ran into a lot of problems. For starters, nvim got stock in a infinit loop, because when I turned Ataraxis off it meant that nv was resized, which triggered the auto command and it went like that... Also, I use tmux and have the tmux integration enabled. Which means that untoggling the whole thing will just... Look messy. Maybe something like a "denounce delay" would do the trick to avoid getting stuck in an infinite loop? |
Whoops sorry for closing this! I accidentally referenced the wrong the issue :) |
Hello! please check #84. |
Would it be interesting to implement a
VimResize
autocommand which adjusts the middle buffer dimensions whenever the window gets resized?The actual behavior is whenever a window gets resized, the middle buffer isn't adjusted, it's needed to run
:TZAtaraxis
twice in order to toggle off and then on again for centering it accordingly to the current terminal window boundariesThe text was updated successfully, but these errors were encountered: