how do I get the current window width?

2012-02-11 Thread skeept
If I type :set lines? I get the width of the current terminal. I would like to know if there is a way of getting the width of the current window. The reason I would like to do this is that I would like to set up my statusline in such a way that some information is only displayed if the width of

Re: how do I get the current window width?

2012-02-11 Thread Gary Johnson
On 2012-02-11, skeept wrote: If I type :set lines? I get the width of the current terminal. I would like to know if there is a way of getting the width of the current window. The reason I would like to do this is that I would like to set up my statusline in such a way that some

Re: how do I get the current window width?

2012-02-11 Thread skeept
Thanks! On Feb 11, 4:01 pm, Gary Johnson garyj...@spocom.com wrote: On 2012-02-11, skeept wrote: If I type :set lines? I get the width of the current terminal. I would like to know if there is a way of getting the width of the current window. The reason I would like to do this is