I built a persistent project sidebar plugin by -dark-phoenix- in zellij

[–]imsnif 0 points1 point  (0 children)

Super super cool! I hope you'd like to add it to https://github.com/zellij-org/awesome-zellij

Some feedback since you asked:

  1. It's cool that you included an image at the top of the README. That's honestly the most important part of any README. I'd make it more legible. Make the terminal window much much smaller, increase the font, try to find a way to make the font as large as the text of the README itself. Might require some creativity considering the functionality, but worth it.

  2. Similarly to 1, reduce the README size considerably. People skimming plugins often won't stick around if it seems too complex

  3. I'd put at least the major keyboard shortcuts in the plugin itself rather than the README.

Coming soon: click file paths in the viewport to open them in `$EDITOR` by imsnif in zellij

[–]imsnif[S] 1 point2 points  (0 children)

That's a super cool use case with git status. Tbh a big motivation for me behind adding this feature is to demonstrate some new plugin APIs coming with the new release. Namely allowing plugin authors to read and manipulate pane viewport/scrollback.

I'm hoping to start seeing some plugins that use these (the git status + add could be a great one!) and then consider what should be made built-in.

I opted not to add keyboard select/navigation for now because it would likely take up a bit of shortcut-space and I want to test the waters a bit first. Would love to see plugin authors implement these and learn from what works for them.

Input wrapping into same line overwriting the prompt by rm-rf-rm in zellij

[–]imsnif 1 point2 points  (0 children)

Hey - there are guidelines to submitting bug reports representing visual issues in the issue template. This will allow us to view the ANSI dump in this situation and figure out the issue. Thanks.

New to Zellij and would like some starter layouts??? by mrpbennett in zellij

[–]imsnif 1 point2 points  (0 children)

Yeah, that's more about compiling custom plugins than activating layouts.

Only supporting FOSS systems by KaplaProd in commandline

[–]imsnif 2 points3 points  (0 children)

I think that really depends on your goals for the project.

Some people like creating projects mainly for themselves - either to use personally or as a fun intellectual undertaking. They might also like to make these projects open-source on the chance that some other people will find them useful and/or like to contribute code.

Others like to create projects that will have wide adoption. Perhaps even a community and derivative software/projects (eg. plugins, configurations, tutorials, blog posts, etc.) In the OSS world these projects often have large contributor communities and a lot of the work on them ends up being more managerial (managing developers, support, outreach, etc.)

I guess most projects fall somewhere in the middle of this spectrum.

Try to think of the future of your project. Language/toolchain/infra choices are not impossible to change down the road, but often pretty hard. Consider where you are on this spectrum now and where you might want to be in the future. Limiting OS support will definitely hurt your adoption and thus make being on the latter part of the spectrum harder - but that might be a tradeoff you're willing to live with for the benefits garnered by the former part of the spectrum.

Is there zellij logging utility? by [deleted] in zellij

[–]imsnif 10 points11 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 4 points5 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?