Can someone please please make a util that configures tmux for me? I'd like to run a small program that generates a tmux.conf, after asking me some questions, and having me demonstrate my responses. So step one, it should be able to figure out what version of tmux I'm using. Then it probably needs to know what SSH program I'm using, so it knows how the keyboard and mouse from that program will mess with it. Picture a…
Necessity is the mother of invention. But I think you'll find that when you start writing something like that, you'll eventually learn enough about the config format that you'll no longer need a wizard to create the config for you. Then, it becomes hard to work on the wizard, because the necessity aspect is gone. Another question to ask is, who would pay for it? A lot of people buy services for things that they can d…
Tmux for Mere Mortals
151–160 of 171 posts
Re: Tmux for Mere Mortals
#152Can someone please please make a util that configures tmux for me? I'd like to run a small program that generates a tmux.conf, after asking me some questions, and having me demonstrate my responses. So step one, it should be able to figure out what version of tmux I'm using. Then it probably needs to know what SSH program I'm using, so it knows how the keyboard and mouse from that program will mess with it. Picture a…
https://github.com/romkatv/powerlevel10k#configuration-wizar...
Re: Tmux for Mere Mortals
#153So I predominantly use Macs. The one and only reason why I personally use tmux is because of tmux -CC. I never bothered with screen/tmux simply because I didn't want to learn another whole new set of keybinds (let alone reconfigure them). tmux -CC largely behaves as a native app. Want a new tab? CMD+T. New window? CMD+N. Scrollback with the trackpad. That sort of thing. The complete system is iterm2 + tmux -CC + et (…
Re: Tmux for Mere Mortals
#154Re: Tmux for Mere Mortals
#155Re: Tmux for Mere Mortals
#156Earlier quoted context omitted.
> realizing it was never going to work how I liked. > You can't have it all with the mouse no matter your settings > so I went back to just using the cursor to move things around. These tools (vim, tmux, etc.) work great for mouseless setups. If you can get comfortable with a 100% keyboard control paradigm, it might work for you. I realize this might not be what you want, but if the statement "spend less time moving…
My biggest problem with "mouseless tmux" was copy-paste. How do you deal with that?
Re: Tmux for Mere Mortals
#157Earlier quoted context omitted.
I've been using those for some time, before I met German keyboards with weird layouts. Now I try to stick to alphanumeric symbols only.
I was born in France, so grew up with one of the weirdest ISO layout: "AZERTY".[1] The worst offense is not even A-Z but rather symbols — take the key "ù" for instance: it's a non-mod key that is used for 1 single word in the entire French language. Literally, ONE WORD in the dictionary. And you need to Shift that 'ù' key to get '%'. How stupid is that... I won't even comment on the weird 'M' position, which shortens…
So, in short, I hear you brother!
Re: Tmux for Mere Mortals
#158Earlier quoted context omitted.
Could not agree more. I throw in underscore and backslash for good measure too: bind-key | split-window -h bind-key \ split-window -h bind-key - split-window -v bind-key _ split-window -v
This is really helpful. I hadn't thought about adding bindings that work without shift. I just tried this and had to escape the slash to get the second binding to work: bind-key \\ split-window -h
bind-key '\' split-window -h
is more portable between versions.Re: Tmux for Mere Mortals
#159Earlier quoted context omitted.
Oh so many useful utilities to write. Folks often say "what should I do with my programming skills?" when there are endless tools, whos lack hold us back. My favorite would be a tool that wrote a Linux device tree source file, by digesting the board schematic. Port Linux to your new device with one click! Of course, that would take away a large part of my contracts. I'd have to do some real work for a change.
If you build it yourself you could easily continue those contracts with way less work put in. There's many, many jobs out there that exist only because people don't think they can read the documentation and figure out how to run things themselves. If the contracts start to dry up, offer it as an automated service. Look at how many people still pay to have someone install and configure things like Wordpress. There's l…
To work well the schematics would have to be well-formed, there need be a chip database of pinouts, clocks, enables and address strapping, and Linux would need a dts schema (its ad-hoc now). Lots of spadework I guess.
Re: Tmux for Mere Mortals
#160Earlier quoted context omitted.
I was born in France, so grew up with one of the weirdest ISO layout: "AZERTY".[1] The worst offense is not even A-Z but rather symbols — take the key "ù" for instance: it's a non-mod key that is used for 1 single word in the entire French language. Literally, ONE WORD in the dictionary. And you need to Shift that 'ù' key to get '%'. How stupid is that... I won't even comment on the weird 'M' position, which shortens…
I wanted to chime in and revel in your company... Something similar (but never as bad as your painful description of AZERTY) happens with Spanish keyboards, and there are even varieties for different Latin American countries. As you mentioned, I finally found ever lasting peace when I switched to an ANSI-US keyboard, and never looked back. Thankfully my current employer defaults to these keyboards; it used to be a ch…
Different kinds of layouts for spanish language is asinine. But hey, this reminds me, Quebec and France also have different layouts. Why keep it simple, when you can complicate everyone's life?
A toast to ANSI and your smart employer!