Friday, September 4, 2015

Re: au! FileChangedShell

On Friday, September 4, 2015 at 2:44:31 PM UTC-5, Marco wrote:
> Excerpts from Graham Lawrence's message of 2015-09-04 15:50:47 -0300:
> > I put this command in ~/.vimrc.
> > au! FileChangedShell img.dat r img.dat
> > which also contains
> > set autochdir " pwd is always directory of current buffer
>
> FileChangedShell is triggered mostly after executing a shell command
> (:!) check :he FileChangedShell
>

It also only fires if you're currently editing a buffer for that file. You can't monitor arbitrary files which are not open in Vim using that autocmd, which seems to be what you're trying to do for some reason.

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: