-
Notifications
You must be signed in to change notification settings - Fork 57
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
Should it be possible to resize the window with "set columns"? #156
Should it be possible to resize the window with "set columns"? #156
Comments
I'd also like this feature, except with |
I believe I implemented this here, would appreciate if you gave it a shot and let me know if it works how you expect: https://github.com/jacobmischka/neovim-gtk/tree/handle-resize |
Yeah, that looks great. It seems to do everything I want. I appreciate the quick patch; I had planned to look at this this weekend, but now I don't have to. |
Great! |
Just a heads up if you're using that branch in the meantime: I force pushed after realizing I could move some borrows and clones after the checks. Sorry! |
This is working pretty well for me. @jacobmischka, would you be willing to open a pull request? It would be great to get this incorporated in the main version. |
I did a month ago #264 |
Ah, my apologies. I missed that. |
On gvim:
set columns = 50
resizes a window
This also works in terminal nvim (using gnome terminal).
However, this doesn't work for me in neovim-gtk.
If the new number of columns is smaller than the old number, then the window stays the same size, but the "editor space" gets reduced.
If the new number of columns is larger than the old number, then nothing appears to happen.
Is that expected? If so, is there a different command I should be using?
In case it is not expected, here is my system info:
The text was updated successfully, but these errors were encountered: