|
1 | | -*img-clip.nvim.txt* For NVIM v0.8.0 Last change: August 2025 |
| 1 | +*img-clip.nvim.txt* For NVIM v0.8.0 Last change: October 2025 |
2 | 2 |
|
3 | 3 | ============================================================================== |
4 | 4 | Table of Contents *img-clip.nvim-table-of-contents* |
@@ -77,9 +77,9 @@ COMMANDS ~ |
77 | 77 |
|
78 | 78 | The plugin comes with the following commands: |
79 | 79 |
|
80 | | -- `PasteImage`Pastes an image form the system clipboard |
81 | | -- `ImgClipDebug`Prints the debug log, including the output of shell commands |
82 | | -- `ImgClipConfig`Prints the current configuration |
| 80 | +- `PasteImage`: Pastes an image form the system clipboard |
| 81 | +- `ImgClipDebug`: Prints the debug log, including the output of shell commands |
| 82 | +- `ImgClipConfig`: Prints the current configuration |
83 | 83 |
|
84 | 84 |
|
85 | 85 | [!TIP] Consider binding `PasteImage` to something like `<leader>p`. |
@@ -141,6 +141,7 @@ below: |
141 | 141 | process_cmd = "", ---@type string | fun(): string |
142 | 142 | copy_images = false, ---@type boolean | fun(): boolean |
143 | 143 | download_images = true, ---@type boolean | fun(): boolean |
| 144 | + formats = { "jpeg", "jpg", "png" }, ---@type string[] |
144 | 145 |
|
145 | 146 | -- drag and drop options |
146 | 147 | drag_and_drop = { |
@@ -177,6 +178,8 @@ below: |
177 | 178 | \label{fig:$LABEL} |
178 | 179 | \end{figure} |
179 | 180 | ]], ---@type string | fun(context: table): string |
| 181 | + |
| 182 | + formats = { "jpeg", "jpg", "png", "pdf" }, ---@type table |
180 | 183 | }, |
181 | 184 |
|
182 | 185 | typst = { |
@@ -395,12 +398,12 @@ TEMPLATES ~ |
395 | 398 |
|
396 | 399 | Templates in the plugin use placeholders that are dynamically replaced with the |
397 | 400 | correct values at runtime. For available placeholders, see the following table |
398 | | -and the |img-clip.nvim-demonstration| |
| 401 | +and the |img-clip.nvim-demonstration|: |
399 | 402 |
|
400 | 403 | --------------------------------------------------------------------------------------- |
401 | 404 | Placeholder Description Example |
402 | 405 | ------------------- ---------------------------------------------- -------------------- |
403 | | - $FILE_NAME Filename, including its extension. image.png |
| 406 | + $FILE_NAME File name, including its extension. image.png |
404 | 407 |
|
405 | 408 | $FILE_NAME_NO_EXT File name, excluding its extension. image |
406 | 409 |
|
|
0 commit comments