How to apply patches to st?
I really like st, but one feature I really wish it had is mouse scrolling, for when long output means I can't see what's at the beginning. Suckless provides patches (as .diff files) to enable mouse scrolling, but I can't for the life of me figure out how to apply them. I asked my admin friend, and h...
Matriarch
So in a keyboard-centric workflow, usually you have keystrokes to traverse your code quickly. For instance, in vim you might hit "40gg" to quickly go to line 40 of your file, or "2b" to go backwards two words. These keystrokes can be extremely helpful, allowing you to very quickly go back and forth to specific places without having to move your hands from the keyboard, and without using the arrow keys to go one character at a time.
However, this doesn't mean you can't use your mouse. You can still use your mouse to click around if you want to; this set up just means you don't have to use your mouse.
For instance, I often code on my laptop, where my touchpad is borked 10 ways from Sunday. If I so much as breathe on the thing wrong, it stops working entirely until I close my lid and reopen it. If I had to use a mouse to do everything, it would be ridiculously frustrating. Using a keyboard-centric workflow, I can just disable the touchpad entirely and never be bothered by it. Having worked in this fashion for a while, now laptop touchpads seem unwieldy and slow to me.
Ultimately, it's just whatever you're used to, and whether or not the benefits of something new outweigh the pain of getting used to it.
So this is something I'm curious about. I really like fish, but it seems that zsh is far more popular. If you like the "fish spirit" of zsh-syntax-highlighting, why not just use fish?
Cargo lets you specify the target architecture. If you're running Arch ARM on your raspi, you can specify
as your target in Cargo.toml and build it that way. You wouldn't be building the AUR package this way, you'd be compiling directly from source, but it should work I think.
Can someone ELI5 what is going on here? I'm not entirely clear on what a container is -- after some simple googling, it seems it's similar to virtualization?