Remix.run Logo
em-bee 6 days ago

Do you expect the terminal developer to know all the keybindings you currently use

i expect terminal developers to keep keybindings to a minimum.

come to think of it, i can't think if a single keybinding that i need from a gui terminal. the only keybindings i need from a terminal are those for tmux, so if a terminal replaces tmux (like wezterm is able to) then those are ok, but otherwise when i run tmux in a gnome terminal then there isn't a single key binding that i need for gnome, except possibly copy and paste.

osmsucks 5 days ago | parent | next [-]

Precisely this. With OSC-52 you don't even need copy/paste keybindings under tmux.

em-bee 5 days ago | parent [-]

sadly, i haven't been able to get this to work. whenever i turn mouse support on in tmux or in vim, copy-paste stops working completely. it works within tmux, but i can't copy anything from the terminal to other windows. i tried this with gnome terminal and wezterm. i could not find any setting in gnome terminal to change that. (wezterm i still need to check if there is a configurable option to turn this on).

also, very annoyingly, when i select something in tmux, the selection doesn't stay highlighted. i find that a serious issue that makes tmux selection annoying. another problem: clicking on urls to open them, which is a terminal feature, stops working too.

godelski 6 days ago | parent | prev [-]

  > i expect terminal developers to keep keybindings to a minimum.
This seems to be one of the goals of ghostty. I don't think keybinding for moving tabs/splits is excessive (as a default). I'd expect every emulator to come with defaults for those.

  > there isn't a single key binding that i need for gnome, except possibly copy and paste.
You don't use new tab? New window? You physically click the tab to move tabs?

I mean I'm not trying to harp on your preferences, but I think you have unreasonable asks. I haven't used an emulator where you cannot change or remove those keybindings, so I think that solves your asks. But I think your asks are unreasonable because they don't match the requests of the majority of users. You're totally right that "sane defaults" are not going to be "sane" for everyone. But why isn't that fine? I mean that's why we have configs, right? So that we can make them our own? "Sane defaults" are just an attempt to minimize configuration by trying to match average demand, not try to match every person. I mean we all have dotfiles, right?

I'm just really lost in what you're asking for. You're asking that *defaults* match *your* needs, right?

Because it sounds like you're upset that keybindings exist so... disable them? Is there something you can't disable? I'm really lost here...

em-bee 5 days ago | parent [-]

I don't think keybinding for moving tabs/splits is excessive

agreed.

You don't use new tab? New window? You physically click the tab to move tabs?

in gnome terminal i don't use tabs at all. i use tmux for that.

gnome has a number of keybindings, most of which start with shift-control, which is a rare combination not used elsewhere. in tmux all bindings start with a leader which is configurable, making it easy to stay away from other key combinations. wezterm can do that too. i am not the person you are originally responding to. i am happy if all keybindings can be changed with a single setting. i don't know if gnome terminal can do that, but it appears that gnome does exactly what we ask for: choose keybindings that don't get in the way.