33594Re: Enhancements to the winnr() function
- Sep 1, 2003Yegappan Lakshmanan wrote:
> The winnr() function currently returns only the current windowLooks OK to me. Nikolai Weibull made a similar patch a while ago, but I
> number. It is cumbersome to determine the last window number or
> the previously accessed window number. The attached patch
> enhances the winnr() function to return these values.
> winnr() (to be backward compatible)
> winnr("%") - Return the current window number.
> winnr("$") - Return the last window number.
> winnr("#") - Return the previously accessed window number.
still didn't include it. This one goes in the todo list, bug fixing has
Linux is just like a wigwam: no Windows, no Gates and an Apache inside.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
- << Previous post in topic