Re: BufReadPre event vs file that isn't readable for now: How to mount a volume before reading the file?

2018-04-08 Thread Bram Moolenaar
Tom wrote: > Let's say, I want to edit a file that is on a volume that is not mounted yet. > From the perspective of vim, the file doesn't exist. Whenever I want to edit > that file, I have to mount that volume first. > > The docs on the BufReadPre event say: > > BufReadPre

BufReadPre event vs file that isn't readable for now: How to mount a volume before reading the file?

2018-04-07 Thread lith
Hi! Let's say, I want to edit a file that is on a volume that is not mounted yet. From the perspective of vim, the file doesn't exist. Whenever I want to edit that file, I have to mount that volume first. The docs on the BufReadPre event say: BufReadPre When starting to