-
-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please document escape codes for Alt + [ for macOS terminals #2267
Comments
There is an entry in the zellij docs addressing macOS and various terminals regarding the However, there is a much simpler solution than what is outlined in the linked blog post. I documented it in a private gist I'm building with FAQs from my recent YouTube video covering many new features in zellij. There is also a trick you need to set for Alacritty, but I haven't updated my private gist with those instructions yet. Kitty and WezTerm work fine out-of-the-box regarding the At some point, I'd like to contribute back some of my findings back to the zellij documentation site. |
Thanks for your quick answer! The linked docs only show how to redefine the arrow keys and I have trouble figuring out the general pattern for defining other keys. The link to your private Gist seems to be wrong (or I can't see it because it's private). I'm using iTerm, not Alacritty or WezTerm. For now, my workaround is to set the left option key to "Esc+" in "Profiles > Keys". I have made some progress in my research for using hex codes instead of redefining the left Alt key: The documentation recommends hex codes for the arrow keys all start with |
Sorry @gbirke it was the wrong link. Try again (private gist). With gists "Private" just means it's not searchable, you have to know the exact URL |
Hey @gbirke - do |
This solved it! I don't think the linked solution for zellij on iterm2 is a good one. We should not have to remap every keycombo that uses alt inside iterm2. Simply setting the left option key to "Esc+" in the profile settings seems like a much better approach. |
I wonder if I'm doing something wrong, but I'm on Zellij 0.36, macOS, kitty with |
Not, that's not a good solution, at least it isn't if you also type in other languages, like French, Spanish, Italian. For those we need alt to behave as option in macOS machines so that we can type characters like these: çéñü... |
Since iTerm2 Build 3.5.0, resize etc for me is borked and the zellij docs addressing macOS and various terminals regarding the Alt key are now out of date for addressing... Some assistance please. |
Fixed my issue by removing the old config altogether and generating a new one. Apparently the version of the tool was updating but no config migration happened, hence the |
With my current Terminal (iTerm) on macOS I can switch with Alt+Arrow, but all other Alt combinations (resizing, switching layout) insert special characters. The Terminal configuration allows to add mappings for other combinations, but I don't know what hex codes / escape codes to send to the terminal. Is there a list of hex codes for Alt+Some_Char combinations?
The text was updated successfully, but these errors were encountered: