From b999bdf5e113f52550fc4bfd31e0b1dec3a86241 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 14 Sep 2025 16:54:33 +0200 Subject: [PATCH] plugins/image: add support for sixel backend --- plugins/by-name/image/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/by-name/image/default.nix b/plugins/by-name/image/default.nix index 5222d155..c49ddd3a 100644 --- a/plugins/by-name/image/default.nix +++ b/plugins/by-name/image/default.nix @@ -29,6 +29,7 @@ lib.nixvim.plugins.mkNeovimPlugin { [ "kitty" "ueberzug" + "sixel" ] '' All the backends support rendering inside Tmux. @@ -36,6 +37,9 @@ lib.nixvim.plugins.mkNeovimPlugin { - kitty - best in class, works great and is very snappy - ueberzug - backed by ueberzugpp, supports any terminal, but has lower performance - Supports multiple images thanks to @jstkdng. + - sixel - uses the Sixel graphics protocol, widely supported by many terminals + - Works with XTerm, WezTerm, foot, and other Sixel-compatible terminals + - ImageMagick is required for Sixel encoding > [!Note] > When choosing the `"ueberzug"` backend, nixvim will automatically add `ueberzugpp` as a dependency. @@ -135,5 +139,9 @@ lib.nixvim.plugins.mkNeovimPlugin { name = "ueberzug"; enable = config.plugins.image.settings.backend == "ueberzug"; } + { + name = "imagemagick"; + enable = config.plugins.image.settings.backend == "sixel"; + } ]; }