-- Leo's gemini proxy

-- Connecting to thatit.be:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

zellij looks promising


Now that I’m happy with my tmux configuration, someone has pointed me to zellij. It’s similar to tmux in a lot of ways. The main difference that I noticed is it uses all the key bindings I like right out of the box. That’s pretty cool. It’s also really in your face with regard to what all the key bindings are. That’s cool for now while I learn, but I’m going to want to get rid of those and free up the screen real estate pretty soon.


Anyway, this note is an amalgamation of details I didn’t want to forget about how to customize it with my observations sprinkled in.


Downsides


The biggest downside is that I generally want to switch to locked mode so that when I edit files in (neo)vim I’m not running zellij commands with my various key strokes. This is only a down-side because it’s not a habit yet. Kind of like the in-your-face help. It’s a little bit of a turn off, but the app is absolutely worth it. Oh, and I don’t know how to customize the status yet so I can have things like my battery life displayed in it.


More upsides


An unexpected plus is the Stacked mode. I didn’t think I’d like it, but I like being able to have two panes that are visible, but have the right side of the screen be a stack of panes that I can shuffle through at will, with just the title bars of the non-visible pains being visible. Alt plus right bracket or alt plus left bracket will cycle layouts. I hit it by accident a few times on my way to switching desks, which I have bound to Super left bracket and Super right bracket.


Another downside is that the most comprehensive documentation is via the web page, not the manual page. But that’s pretty common these days.


Customization so far…


Generated a config, per the [website documentation]:


zellij setup --dump-config > ~/.config/zellij/config.kdl

Enabled compact mode by default on startup to get rid of the in-your-face help bar.


default_mode "compact"

Disabled the mouse because I’m accidentally switching focus via the touchpad on some systems.


mouse_mode false

Modify the key bindings for full screen via alt-f to also work in normal mode.


I put this inside the normal block under keybinds around line 4:


    bind "Alt f" { ToggleFocusFullscreen; }

Tags


#index

#tmux

#cli


Navigation


index

tags

prev ⏰

⏰ next


updated: 2024-03-18 13:12:11


generated: 2024-05-03

-- Response ended

-- Page fetched on Mon May 6 22:08:47 2024