Zelig Is a new terminal workspace and multiplexer (e.g.
screen) Written in Rust and available for macOS and Linux. One of its most important features is the layout system and plug-ins written in any language that can be compiled into WebAssembly.
Although the tool is ready for daily use, it still needs to be mentioned that it is currently in beta state, so you may occasionally crash. It also misses a lot of features now (for details, please read on).
Unlike other terminal multiplexers,
screen, Out of the box, Zellij provides a user-friendly user interface, which displays a status bar at the bottom of the screen, and provides available keyboard shortcuts and tips for using this tool. The status bar (and the tab bar) is implemented as a plug-in, and when you get used to its keyboard shortcuts, you can easily disable it.
When you start Zellij, you will notice that it displays available keyboard shortcuts that can be used to lock the layout, access pane options, tab options, resize, scroll, and exit (see the screenshot at the top of this article). When you use one of these keyboard shortcuts, it is assumed that the pane shortcut (
Ctrl + p), the prompt bar will become the keyboard shortcuts available for the panes, such as creating a new pane, moving between panes, closing the active pane, etc.:
In addition to being easy to use, Zellij also tried to innovate in arranging and resizing the panes. If you want to create a vertical or horizontal split, you don’t have to figure it out yourself. Instead, the application looks for the best place to open the new pane. There are also no restrictions when resizing the pane.
Keyboard shortcuts and the initial layout used when Zellij starts, Configurable.You can view the default keyboard shortcuts Here, with this is The default layout. The next version of Zellij will also provide a built-in tmux mode, and the screen-like keyboard binding function is working.
You might also like: fzf quick start (interactive command line fuzzy finder)
In addition to the status bar and the tab bar, Zellij also comes with a plug-in called Strider, a clone of Ranger (console file manager), but this doesn’t work for me-it can’t load at all on a computer , And it cannot load files on another computer. So, here is a GIF of this feature obtained from the Zellij website:
Because it is new, the first version of the tool was released in January 2021 (while the first beta version is only one week old), the tool lacks certain features. The most important one is undoubtedly the lack of the ability to separate active sessions and restore them later. The plan is to achieve this goal through a client-server architecture, where the client is the front end for interacting with the user, and the server is the back end where all the magic happens.There is already work to implement this feature-you can track its progress in the following ways This pull request.
The plan also allows connecting to Zellij through a browser instead of opening a terminal window, whether on a local or remote computer.
Other features on the Zellij roadmap include sharing sessions with others, support for multiple terminal windows across screens (by making the panes belong to the same session, so that they can be transferred across different windows and screens), and smart layout (smart To rearrange) functions. The layout when adding new panes or resizing windows).
At the time of writing this article (but should be implemented in the future), other missing features include color scheme support, mouse support, the ability to create layout files from the current layout, and open new tabs with specific layouts. . Microsoft Windows support may also be implemented in the future, which makes Zellij the first terminal multiplexer with native Windows support.
It is also worth noting that the current running speed of Zellij on WSL2 is very slow.
You might also like: Get notifications on your desktop or phone after a long-running Noti command is completed
To install Zellij binaries on Linux, just extract the downloaded archive file,
cd Put it in the unzipped folder and install the binary file to
sudo install zellij /usr/local/bin
To configure Zellij (key bindings, layouts, plugins), check out its document.
You may also like: broot is a command line interactive Treeview directory navigation tool