I was having similar issues as #58, and I think I've found out why.
https://github.com/ferrine/md-img-paste.vim/blob/e81bec83ae68cec99857826ddee63f43e529ec4c/plugin/mdip.vim#L34
This only works for the C: drive. Replacing it with the code below worked for other drives:
let tmpfile = substitute(tmpfile, "\\\\\\\\mnt\\\\\\\\\\(.\\)", "\\1:", "g")
" I found this to be more readable:
let tmpfile = substitute(tmpfile, '\\\\mnt\\\\\(.\)', '\1:', "g")
PS: I have xclip properly set up in Ubuntu 20.04 1 , so the Linux saving functions are working properly.
I was having similar issues as #58, and I think I've found out why.
https://github.com/ferrine/md-img-paste.vim/blob/e81bec83ae68cec99857826ddee63f43e529ec4c/plugin/mdip.vim#L34
This only works for the
C:drive. Replacing it with the code below worked for other drives:PS: I have
xclipproperly set up in Ubuntu 20.04 1 , so the Linux saving functions are working properly.Footnotes
Using x410. ↩