File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ # 📋 img-clip.nvim
2+
3+ Effortlessly embed images into any markup language, like LaTeX, Markdown or Typst
4+
5+ ** Repository:** < https://github.com/HakonHarnes/img-clip.nvim >
Original file line number Diff line number Diff line change 1+ return {
2+ " HakonHarnes/img-clip.nvim" ,
3+ cmd = { " PasteImage" , " ImgClipDebug" , " ImgClipConfig" },
4+ specs = {
5+ {
6+ " AstroNvim/astrocore" ,
7+ opts = {
8+ mappings = {
9+ n = {
10+ [" <Leader>P" ] = { " <CMD>PasteImage<CR>" , desc = " Paste image from system clipboard" },
11+ },
12+ },
13+ },
14+ },
15+ },
16+ opts = {
17+ default = {
18+ prompt_for_file_name = false ,
19+ drag_and_drop = {
20+ insert_mode = true ,
21+ },
22+ use_absolute_path = vim .fn .has " win32" == 1 , -- default to absolute path for windows users
23+ },
24+ },
25+ }
You can’t perform that action at this time.
0 commit comments