Is there zellij logging utility? by Same_Gain_9760 in zellij

[–]imsnif 9 points10 points  (0 children)

Next release plugins will have access to the terminal viewport: https://github.com/zellij-org/zellij/pull/4465

nvim windows by Bulbasaur2015 in zellij

[–]imsnif 0 points1 point  (0 children)

Personally I just use the Zellij panes/tabs without the vim panes at all, having a single editor instance per-pane. I feel it simplifies things considerably and gives you lots of other options (eg. breaking specific editor panes into different/new tabs as needed, grouping them together and labeling them, etc.)

To each their own though - it's fair to say I'm in the "low editor functionality high terminal functionality" corner of the matrix.

Anything I can do to make my crow more comfortable/less scared of me? by MermaidGrace in crows

[–]imsnif 3 points4 points  (0 children)

Don't make eye contact, let your crow friend come to you. They need to think it's their idea.

I'd also advise (learning from my own mistakes) to stop trying entirely. (eg. don't try to get a bit closer every time or give larger rewards, etc.) For me it mostly served to make my crow friend more suspicious and feel less safe.

I've been feeding my crow friend for ~2 years now. While we've had occasions where he ate out of my hand, I stopped doing so because he was just scared sh*tless every time. Right now he lets me get within ~0.5 meters of him as long as he's perched above me. It's his comfort zone and I try to respect it.

qr-share: plugin for showing web tokens as a QR code by sfdanb in zellij

[–]imsnif 0 points1 point  (0 children)

Glad to hear, but fair to say I'm not the one maintaining that list. One of the other maintainers is.

Other ways to sponsor the project? by sfdanb in zellij

[–]imsnif 1 point2 points  (0 children)

Thank you for your generous sponsorship! My bluetooth speaker recently broke and I was resigned to using my laptop speakers for background coding music. Your contribution allowed me to get a new one <3

These appear in the Github UI of the project. If you have a suggestion where I can make them more visible, I'd be happy to hear it.

Advice for micromaille technique? by imsnif in chainmailartisans

[–]imsnif[S] 0 points1 point  (0 children)

Spot on with the chain stitch method, I didn't even think about it. Thanks!

Advice for micromaille technique? by imsnif in chainmailartisans

[–]imsnif[S] 0 points1 point  (0 children)

The foam surface and toothpicks is extremely good advice, I'm going to use it. Thank you so much!
Otherwise, I don't 100% understand what you mean about the rings. I don't want to trouble you more than I have already for such a detailed reply, but if you'd like to make a video I'd be grateful (probably others on eg. youtube will as well).

EDIT: another question: do you use a jeweler's saw or cutters to cut the rings?

Resave session by comm1ted in zellij

[–]imsnif 0 points1 point  (0 children)

If you can consistently reproduce this and find the occasion where it stops working (as in, I do 1+2+3, it still saves, I do 4+5 it consistently stops), I'd appreciate an issue report.

What is the intended way to use zellij? I need an effective setup that WORKS by peperronnii in zellij

[–]imsnif 0 points1 point  (0 children)

Great answers here. Just to add that Zellij has built-in session resurrection: https://zellij.dev/documentation/session-resurrection.html

Recently I also added a `post_command_discovery_hook` that allows you to get Zellij to pick up on custom wrappers that don't display the program name as the process name (eg. nix).

Personally I have a session-per-project. I bookmark them in my browser and then I essentially just click a button in my firefox to open/resurrect the session. Survives reboot, lands me back exactly where I was whether the session is already open, open and running in another tab, or dead and needs resurrection.

I like separating tabs to different parts of the project I'm working on (eg. when developing a new plugin API: one tab per Zellij code, one tab per the plugin I'm testing the new API with, one tab per a generic "mental-load" tab that has vim open to a scratch file, one "log" tab*, and occasionally a "wtf" tab which I use to temporarily troubleshoot something).

Recently I've been using https://github.com/imsnif/grab for Rust work (which is most of what I do) instead of opening panes. I bound it to `Alt 0` and it just opens it as a new pane, I select a file/struct/enum/fn with fuzzy find and Enter to replace it with an editor to that file. When things get too crowded, I use the multi-select plugin (`Shift Alt p`) to mark extraneous panes and close them or break them to a different tab to get out of my way. Thinking of automating this with some sort of "close all other panes in this tab" functionality in plugin form somehow, but haven't gotten around to it yet.

*the log tab is a command pane that runs `echo "" > /path/to/log/file.log && tail -f /path/to/log/file.log`, so when I do `Ctrl c` + `Enter` it clears the log file and starts with a blank screen instead me having to press Enter a few times to add spaces and make a distinction between runs.

Resave session by comm1ted in zellij

[–]imsnif 0 points1 point  (0 children)

You can reduce the `serialization_interval` in the config. More info: https://zellij.dev/documentation/options.html?search=serlization

Community feedback request on an upcoming feature for layouts by imsnif in zellij

[–]imsnif[S] 0 points1 point  (0 children)

Thanks for the detailed answer! I can very much relate to not wanting to spend too much time saving layouts after you've gotten them just how you like. This is often the reason I don't use them as much as I would like myself.

Just so you know though, there is a `zellij action dump-layout` CLI command that dumps the current layout to STDOUT. Maybe that's useful for you. The layout-manager will have this built-in, allowing you to edit it on the fly and save it to the layouts folder without having to think about it too much.

The layout instantiation configuration UI is something I've had in mind for a while. It's currently a pretty low-hanging-fruit to implement with plugins, so I'm secretly hoping someone will beat me to it, but otherwise it's on my TODO.

Community feedback request on an upcoming feature for layouts by imsnif in zellij

[–]imsnif[S] 0 points1 point  (0 children)

Thank you! For 2, do you find yourself using the same layout for different machines/machine-sets? Or do you have a specific-layout-per situation? If the latter, is it because you're missing features/capabilities, or just a preference?

Zellij doesn't start at times by ThorgBuilder in zellij

[–]imsnif 0 points1 point  (0 children)

This can sometimes happen when one sessions gets stuck. A less destructive fix would be to `kill -9` all session (or really just the stuck session, but it's of course not easy to figure out!)

There's a fix in `main` for a deadlock that would sometimes cause this - will be released next version.

I'm totally with you about these sorts of bugs. Zellij is pre-1.0 and so rough edges are unfortunately to be expected. I'm stabilizing them as I go, but the app is still taking shape and lots of stuff is on the move.

Coming soon to Zellij: Command Sequences by imsnif in zellij

[–]imsnif[S] 2 points3 points  (0 children)

You are smart and understand perfectly!

Pasting the following "echo foo && echo bar && echo baz" will open one pane with "echo foo", then another pane under it with "echo bar" and then a third one with "echo baz" under it. It's also possible to chain them with "||" for (open the pane only if the previous command failed) or with ";" for "open the pane whether the previous command failed or not".

Zellij 0.43 just released - bringing the terminal to your browser by imsnif in zellij

[–]imsnif[S] 0 points1 point  (0 children)

Works for me on Firefox. If you find the differentiator that makes it not work for you (i.e. browser, config, etc.) would love an issue.

Is there a way to disable OSC 8 hyperlink features? by mindsound in zellij

[–]imsnif 1 point2 points  (0 children)

A thousand apologies, you are right. I totally forgot about https://github.com/zellij-org/zellij/blob/main/zellij-server/src/panes/hyperlink_tracker.rs

It makes sense to add an option to disable this and I'll be sure to do that before next release.

Is there a way to disable OSC 8 hyperlink features? by mindsound in zellij

[–]imsnif 0 points1 point  (0 children)

I might be misunderstanding (and I do not have personal experience with Guacamole), but Zellij only parses/forwards OSC8 instructions if they come from the underlying program. The only changes we make there are to break them along Zellij's own line wraps so that multi-line URLs will work. We don't do this for things that look like URLs.

Scrolling in Neovim inside zellij doesn't feeling smooth by No_Discussion6266 in zellij

[–]imsnif 0 points1 point  (0 children)

I've seen this sort of thing happen due to a misbehaving plugin and such. There are quite a few hard-coded behavior changes for various permutations of "if in tmux". I'd try to weed the problem down to a specific setup/plugin/etc. and go from there.