On Mo, 05 Mär 2018, Axel Bender wrote:
> I found the error: it turned out to be a setting in my .vimrc:
>
> autocmd BufEnter * lcd %:p:h
Well, check the filetype and make sure to trigger it only for files,
something like this:
au BufEnter * let s:autocmd_file=expand('<amatch>') | if
getftype(s:autocmd_file) is# 'file' && filereadable(s:autocmd_file) | lcd %:p:h
|endif
> which I use in place of autochdir (which doesn't work for me with
> --remote-silent).
I wonder, if 'acd' shouldn't also apply in that case.
Best,
Christian
--
Selbst einer großen Armee kann man den Führer rauben, aber nicht
einmal einem einfachen Mann seinen Willen.
-- Konfuzius (551-479 v. Chr.)
--
--
You received this message from the "vim_dev" 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_dev" 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/d/optout.