Hacker Newsnew | past | comments | ask | show | jobs | submit | more _blz2's commentslogin

Read once here, the best cheat sheet is one you create yourself. In my case, with fish shell or bash history search with fzf, I've effectively created a cheat sheet of commands I frequently tend to use with working examples. Seems to be working for me so far.



Thank you! Will try it in the next few days!



Most of the problems with zellij people have initially can be fixed if they write the config file from bottom up..just comment everything out and you'll get to your desired config in 15 minutes.

Use the 'clear-defaults=true' option for each mode and build the config.

E.g.resize mode for me looks like this

  resize clear-defaults=true {
        bind "Esc" { SwitchToMode "Normal"; }
        bind "h" { Resize "Increase Left"; }
        bind "j" { Resize "Increase Down"; }
        bind "k" { Resize "Increase Up"; }
        bind "l" { Resize "Increase Right"; }
    }

Normal mode:

  normal clear-defaults=true {

        // Quit/detach
        bind "Alt x" { Quit; }
        bind "Alt d" { Detach; }

        // Switch modes
        bind "Alt p" { SwitchToMode "pane"; }
        bind "Alt r" { SwitchToMode "resize"; }
        bind "Alt t" { SwitchToMode "tab"; }
        bind "Alt s" { SwitchToMode "scroll"; }
        bind "Alt m" { SwitchToMode "move"; }

        // new pane or resize pane
        bind "Alt n" { NewPane; }
        bind "Alt >" { Resize "Increase"; }
        bind "Alt <" { Resize "Decrease"; }

        // move between panes (moves tabs if at the last pane)
        bind "Alt h" { MoveFocusOrTab "Left"; }
        bind "Alt j" { MoveFocus "Down"; }
        bind "Alt k" { MoveFocus "Up"; }
        bind "Alt l" { MoveFocusOrTab "Right"; }

        // swap layouts
        bind "Alt {" { PreviousSwapLayout; }
        bind "Alt }" { NextSwapLayout; }

        bind "Alt 1" { GoToTab 1; }
        bind "Alt 2" { GoToTab 2; }
        bind "Alt 3" { GoToTab 3; }
        bind "Alt 4" { GoToTab 4; }
        bind "Alt 5" { GoToTab 5; }
    }


a good tool should be usable without custom configs


No, it shouldn't.


If anyone believes this, they can't seriously be surprised when most people can't be bothered to learn their superior tool.

Most people's first experience with a new tool will be to launch it with the default configuration and get a feel for it. That is an abysmal experience with far too many tools, so people go back to what they were already comfortable with even if its potential is more limited.

There's some nuance here when distributions change the default config. For example, some distributions made vim act like vi by default, while others enabled a reasonable set of modern features. People can form completely different opinions of the vim experience based entirely on what distribution they happened to try it on first, and you can't exactly blame the users for that.


Zellij is an order of magnitude better than tmux. Main issue with tmux was that it always messed up my TERM.


wezterm + ssh + zellij on remote machine has been working like a charm for me.


In all earnestness, do you think reading books has the same effect as doom scrolling on tiktok?


And I'm sure all those parents bitching about video games and dungeons and dragons were patting themselves on the back over how they weren't as ridiculous as their parents thinking that the problem with the youth was rock and roll music and dancing which includes moving your hips. They finally had it figured out for real this time. Not like the hundreds of generations before panicking over basically nothing.


The question was, in all earnestness, do you really believe children reading books has the same detrimental effect on a child's development as social media and phones do?


just maybe 5-6 years ago, attempts to regulate the time spent online by ones kids was met (on forums like *eddit and hackernews) with a sarcasm filled 'WiLl nO oNe tHinK oF tHe Kids' mockery and then pointing to the advent of books/newspapers/ipods etc having similar effects on society. Lol, techies are probably worse than the average person when it comes to figuring out how a society should function


looks like those are local variables


Good to see this article flagged. Next time I see someone getting beat up, will make sure to remind him NPR says he should change his beliefs.


The solarized dark one seems good: https://github.com/superjamie/hn-solarized-dark-nice


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: