On Tuesday, February 18, 2014 2:12:49 PM UTC-5, Aaron Bohannon wrote:
> Hi, which autocmds get triggered when I change directories in a netrw window?
> 
> In version 7.3.762, BufWinEnter gets triggered.
> 
> In version 7.4.126, it seems that BufWinEnter does not get triggered, even 
> when browsing to a newly visited directory, which gets a new buffer number.
> 
> I need to update certain options (e.g., &b:path) when there is a change to 
> the directory I'm viewing in a netrw window.

BTW, I'm using netrw v146 in both cases.  It seems that this is the version 
that is packaged with vim (and has been for quite a while).  I know there are 
newer versions.  I don't know what their behavior is.  However, I want this 
code to be in a plug-in that other people can use, and I don't want to require 
them to upgrade netrw in order to have my plug-in work.

-- 
-- 
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 vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to