John Beckett <[email protected]> wrote:

> David Zelin wrote:
>> Is there anyway to get a vimscript to determine the WINDOWID
>> of the gvim window it's running in?
>
> See :help v:windowid
>
> Try :echo v:windowid
> or  :put =v:windowid
>
> John

The --echo-wid command line option may also be useful:

$ gvim --echo-wid
WID: 56623107

-- Dominique

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to