this post was submitted on 05 Nov 2024
27 points (93.5% liked)

Linux

5276 readers
580 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
 

cross-posted from: https://programming.dev/post/21363946

The normal complaint new Zellij users have is that it has a lot of keybindings which are likely to conflict with programs like nvim or Helix that use a lot themselves. Before, the workflow was to lock Zellij with ctrl-g which let input go through to the focused shell/program.

The new mode has most of the keybindings behind the ctrl-g lock, e.g. a new tab is ctrl-g t n (instead of ctrl-t n). You can still use alt-(cursor) for changing focus and alt-n/alt-f for a new tiled/floating pane, but all other key presses get passed along.

You can switch between default and unlock-first (non-colliding) modes so if you need those alt shortcuts you can lock everything as before.

Plus some other nice features like being able to change modifier keys while running (via the Kitty Keyboard Protocol), and autoloading the new config when you edit the file.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 2 weeks ago

Very nice. I started using zellij a lot and glad it's getting more and more cool features.