ITADN

Add text/uri-list support for `paste_img`

#829Pull Requestottersome 创建于 2025-02-20
O
ottersomecommented
When copying images from Nautilus or Thunar, these programs actually copy to the clipboard in the form of `text/uri-list`. `ObsidianPasteImg` only searches for `image/png` data within the clipboard using `wl-paste --list`. This update adds support to inspect the list, extract the first image, and add it to `wl-clipboard` as an image. Ultimately, you can copy from file browser to neovim.
合并状态:未合并 0 条评论