The autocmd that sets the variable does not get run when I close the last
window on a tab page. It is easy to check that it _does_ get run in other
circumstances.
On Sep 30, 2013 12:06 PM, "Christian Brabandt" <[email protected]> wrote:

> On Sun, September 29, 2013 19:58, Aaron Bohannon wrote:
> > So I did this:
> >
> > autocmd BufEnter *  let g:foo = expand('%')
> >
> > And then I'd check the value of g:foo with :echo after switching/closing
> > windows.
>
> Now I am confused. Does this work for you yes or no?
>
> regards,
> Christian
>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/rIDzIjQ04sc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to