diff options
| author | venomade <venomade@venomade.com> | 2026-02-13 18:09:22 +0000 |
|---|---|---|
| committer | venomade <venomade@venomade.com> | 2026-02-13 18:09:22 +0000 |
| commit | 4b8cc0b9a9d92636b5c5b84595e6302900f5dfce (patch) | |
| tree | f0896b545f01e87c661af2dbf53f80337c06c05e /.config/nvim/lua/plugins/image.lua | |
| parent | 0bd150185551b6d8835d022c15a5f6e832d51113 (diff) | |
ZK, NVIM and Misc
Add ZK config, template and script. Add various Neovim plugins, and some markdown specific settings. Add Neovim aliases. Fix 100% in alsa luastatus plugin.
Diffstat (limited to '.config/nvim/lua/plugins/image.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/image.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/image.lua b/.config/nvim/lua/plugins/image.lua new file mode 100644 index 0000000..32c3540 --- /dev/null +++ b/.config/nvim/lua/plugins/image.lua @@ -0,0 +1,20 @@ +return { + '3rd/image.nvim', + config = function() + require("image").setup({ + backend = "sixel", + processor = "magick_cli", + integrations = { + markdown = { + enabled = true, + only_render_image_at_cursor = true, + only_render_image_at_cursor_mode = "popup", -- or "inline" + floating_windows = true, -- if true, images will be rendered in floating markdown windows + }, + }, + window_overlap_clear_ft_ignore = { "cmp_menu", "cmp_docs" }, + editor_only_render_when_focused = true, -- auto show/hide images when the editor gains/looses focus + }) + end + +} |
