Skip to content
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

Alt or option key in macOS not working #323

Open
ciscohack opened this issue Sep 9, 2024 · 5 comments
Open

Alt or option key in macOS not working #323

ciscohack opened this issue Sep 9, 2024 · 5 comments

Comments

@ciscohack
Copy link

Hi Roman,

Looking for your expert advise. In my macbook alt/option key is not working in zsh4human shell with tmux integration. default key binding to access history which is alt+down not working and also various inbuild word jumb feature of iterm2 also not working.

in iterm2 if we press alt+left/right arrow it helps to jump the word that is also broken. need your help to fix this issue.

one of most useful feature of accessing history in quick time via alt+down keybinding is broken in macOS. if i rebind the key to shift + down key then i lost quick directory navigation which currently i am doing via shift + down key.

@romkatv
Copy link
Owner

romkatv commented Sep 9, 2024

Perhaps this iTerm2 FAQ entry will help:

Q: How do I make the option/alt key act like Meta or send escape codes?

A: Go to Preferences > Profiles tab. Select your profile on the left, and then open the Keyboard tab. At the bottom is a set of buttons that lets you select the behavior of the Option key. For most users, Esc+ will be the best choice.

@ciscohack
Copy link
Author

ciscohack commented Sep 9, 2024

Perhaps this iTerm2 FAQ entry will help:

Q: How do I make the option/alt key act like Meta or send escape codes?
A: Go to Preferences > Profiles tab. Select your profile on the left, and then open the Keyboard tab. At the bottom is a set of buttons that lets you select the behavior of the Option key. For most users, Esc+ will be the best choice.

@romkatv Thanks for quick response. I already tried all this before knocking your doorstep. Here is my config snippet of iterm2 for ref but that didn't help

image

@romkatv
Copy link
Owner

romkatv commented Sep 9, 2024

Then I don't know. If you find a solution, please post an update.

@szechp
Copy link

szechp commented Nov 15, 2024

@ciscohack
Copy link
Author

Use this:

https://github.com/GabLeRoux/iterm2-macos-dynamic-profile

thanks for the help my friend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants