Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.21k stars 3.39k forks source link

OSX ctrl cmd swapped - way to swap in tabby too? #9872

Closed jensenojs closed 2 months ago

jensenojs commented 2 months ago

Is your feature request related to a problem? Please describe.

since I have ctrl and cmd swapped in the whole system I wonder, if there is the possibility to swap them in the kitty config as well (since I would need to use CMD+C in order to issue a Ctrl+C console behaviour).

Describe the solution you'd like

sth like

image

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

jensenojs commented 2 months ago

There is such a feature on iterm2, and I just want to find such a feature also in the Linux terminal. The following are some of my attempts at searching.

https://github.com/RedBearAK/toshy


I have already used toshy on my Fedora to make my shortcut keys conform to the style of macOS (the one I use most frequently is actually cmd+w, which can quickly close a window. Although cmd+h to quickly minimize a window would make me feel very troubled, I often accidentally trigger it, especially in my nvim configuration, cmd+h often represents something else).

I think the key position of cmd is more reasonable than that of ctrl, and I also Googled similar solutions like.

I tried the following change operation yesterday, but it didn't take effect, and I haven't gone to study why yet. But perhaps I should consider doing this and give up shortcuts like toshy.

Menu > Keyboard > Layouts > Options > Ctrl position > Swap Left Alt with Left Ctrl
GitHub
GitHub - RedBearAK/toshy: Keymapper config to make Linux work like a 'Tosh!
Keymapper config to make Linux work like a 'Tosh! Contribute to RedBearAK/toshy development by creating an account on GitHub.
Ask Ubuntu
How do I swap Left Ctrl with Left Alt on my keyboard?
There is no such option in Keyboard Layout Options which is sad. How can I do it manually?
swap Ctrl and Atl keys - Linux Mint Forums
jensenojs commented 2 months ago

After re-entering GNOME, the configuration automatically took effect. I understand why this requirement is not discussed much. My needs have been well solved (using alt instead of ctrl in the terminal), but I also like tabby very much.