Zellij 0.31.0 was just released. This version includes three highly anticipated features that have each been in the works for a long while.
The new release is available through crates.io with a
cargo install zellij, a prebuilt binary can be downloaded directly from the release page, or you can check our third party release page to see if it’s already available for your distro.
If you like, you can even try Zellij without installing it. Check out the main page for copy/pasteable instructions: https://zellij.dev
Let’s dive in!
Sixel graphics is a DEC protocol that enables displaying images and video in the terminal. With this version, Zellij has become one of its modern implementors. In order to take advantage of this new feature, you’ll need a terminal emulator which itself has Sixel support. Here’s a nice list.
As part of our work on this feature, we released much of the Sixel encoding/decoding logic as two separate crates: sixel-image and sixel-tokenizer. We hope this will help kickstart other projects who want to do interesting things with Sixel images.
Adding Sixel support is a first step for Zellij in a long journey. In the near future, we hope to add:
- Sixel support for unsupported terminals - so that if your terminal emulator does not have Sixel support, you’ll still get a colorful ASCII representation of the image.
- Support for image previews inside Zellij - also accessible to plugins.
- An internal Zellij command that opens an image from your HD or the web in a new pane
Search through pane scrollback
This feature has been very widely requested. While like all UX features, we’re sure to improve upon it in the future, we tried to make an effort to give users a search experience they know and recognize from other applications. We aim for both power and simplicity.
We replaced the old “Scroll” mode with a new “Search” mode, which includes the new search feature as well as all the scrolling shortcuts.
The search feature includes toggles for case-sensitivity, whole-word search and wraparound. This feature was a tremendous effort, contributed by msirringhaus to whom we are very grateful!
The status-bar shortcuts now reflect your custom config
Ever since Zellij came out, it has been distinguished by its ease-of-use and feature discoverability. You don’t need to read a book, keep cheat-sheets or memorize keybindings to use Zellij. You just start it and it tells you what to do in the bottom status-bar. Up until now however, this has somewhat gotten in the way of those who wanted to configure custom keybindings. The status-bar shortcuts were hard-coded, and users would get naturally confused by their changes not being displayed on screen.
Our newest maintainer, har7an has spent a colossal amount of time and effort implementing this feature. Not a small feat considering the amount of technical-debt he had to wade through in a strange code-base!
This feature not only gives users with a configured environment a better experience, but it also brings us one step closer to another goal. Imagine being able to send a custom configuration to your teammates which includes all your handy macros and shortcuts for your environment, without even having to document them.
In addition, this version includes lots of bug fixes, some really nice performance improvements, support for a “themes” directory and much more. We hope you enjoy it, and please drop by our chats or issues to say hi!