Open elli999 opened 4 years ago
For example, I am editing a file names "test.md". I want to save the image in the "./test/" folder when I paste.
Is it change the let g:mdip_imdir = 'image' in vimrc file? I don't know how to fill in. How to get the filename...
Please tell me , I am sincerely want to know, thank you very much!
Not sure dynamic path setting is easy. It is set as a constant in vimrc file
let g:mdip_imgdir = "assets/" . expand('%:t:r')
For example, I am editing a file names "test.md". I want to save the image in the "./test/" folder when I paste.
Is it change the let g:mdip_imdir = 'image' in vimrc file? I don't know how to fill in. How to get the filename...
Please tell me , I am sincerely want to know, thank you very much!