You are not logged in.
I use vim as my main code environment, and often have some vertical splits with multiple files. Is there a way that I can make it such that when I enter a buffer and it becomes active, that it will automatically expand to at least 80c wide? And that it would also skip non-file windows like taglist?
[git] | [AURpkgs] | [arch-games]
Offline
For options on resizing a window, type ':help ^W' for the full list. In the meantime, play with
Ctrl-W +
Ctrl-W -
Ctrl-W <
Ctrl-W >
Ctrl-W =
Ctrl-W _
As for automatically 80c, you'd might need to write a vim script or check if one already exists.
Last edited by saline (2010-06-08 16:27:38)
Offline
Right now I can use :vertical res 80, but yeah, I think a custom function would be good... Check width, compare on 80, resize to 80 if less... Can't I also do something like auto onBufEnter or something? I'll have to look into this.
[git] | [AURpkgs] | [arch-games]
Offline
If you already have the function, I believe you can run it with the buffer triggers.
Offline
Not yet, but I'll make it
[git] | [AURpkgs] | [arch-games]
Offline