Hello, I have such line in my .gvimrc

autocmd BufEnter * :lcd %:p:h

(this is vim tip: http://vim.sourceforge.net/tips/tip.php?tip_id=101)

but when I work with remote files via netrw it produces warning every
time, 'cause scp copies remote files to /tmp dir

Is there any way to determine whether file is opening via netrw to
disable that autocmd?


--
regards, Hegai Ilya

Reply via email to