Comments (3)
I think the error might come from non escaped names.
https://github.com/ferrine/md-img-paste.vim/blob/e29daecf5c068c1862242bb006084e2bcde54f07/plugin/mdip.vim#L47
let tmpfile = a:imgdir . '/' . a:tmpname . '.png'
I'm not sure though, but it's definitely worth fixing. PR is more than welcome as I have little time to debug till March
from img-paste.vim.
Can you please try to escape directory or file name in the script? Hope it is the case
from img-paste.vim.
I think I have a fix #28. outdir
should not be escaped in s:SafeMakeDir
on mac.
from img-paste.vim.
Related Issues (20)
- wsl 2 wslpath -m "No such file or directory" HOT 4
- Every single time I run the command, this shows up HOT 2
- WSL function resets terminal font and raises "No such file or directory" HOT 2
- make the default name of the image in the md be what you name the file HOT 2
- Extend to other markup languages HOT 6
- paste img over ssh HOT 1
- Under Linux support Wayland HOT 2
- Clipboard support not present on all terminals HOT 4
- [Improvement] Different image directory name + img paste name HOT 3
- No working when I browse to another file HOT 2
- Silent failure on Mac after Vim update HOT 2
- image always not found HOT 6
- After i operate , there is no image save in the mdip_imgdir.
- After i enter the keybind, the directory will be created, but there is no image file. HOT 4
- Set image size? HOT 1
- I copy a image, there is no image file. I screenshot a image, image file will be created。 HOT 1
- Typo in readme
- WSL image saving issue HOT 2
- Looking for a collaborator to help with maintenance HOT 4
- Option to paste as base64 data instead
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from img-paste.vim.