Ok, I can see that.  I was hoping that it may be part of the positioning
capability (winpos, columns, guiheadroom, etc) but it was probably just wishful
thinking. Not a big deal, but it's nice to have a clean, portable solution.

Thanks for taking the time to respond Gerald.

Michael

--------------------------------
Tuesday, May 9, 2006, 12:59:48 PM, you wrote:
Lai> On Tue, 9 May 2006, Michael Fross wrote:

>> Hello everyone,
>>
>> Does VIM (v7) have a way to tell me the screen width from an OS point of 
>> view?
>> I like to position gvim in a specific place on my screen and I use computers
>> with different resolutions.  Right now I shell out via a system call and get
>> the info, but it would be much cleaner and more portable to do so without
>> calling an external program.

Lai> AFAIK, Vim isn't able to tell what screen resolution you're using.

Lai> IMHO, screen resolution has nothing to do with Vim :)

Lai> See ":help design-not".

Lai> --
Lai> Gerald




Reply via email to