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 key binding not great from Mac. :( #70

Open
NHDaly opened this issue Feb 4, 2016 · 6 comments
Open

Alt key binding not great from Mac. :( #70

NHDaly opened this issue Feb 4, 2016 · 6 comments

Comments

@NHDaly
Copy link

NHDaly commented Feb 4, 2016

Hi! Lovingggggg TPM. It just makes sense.

That said, after uninstalling plugins moved from prefix C to prefix alt u, I had trouble pressing it on the mac. I did eventually find the setting on iTerm2 to move option to +Esc, and this allows me to hit this key binding, but I'd rather not do that.

I use option for special characters in a lot of what I type (a lot of what I type isn't always in english, and option enables things like ¨ ´ ``` etc.)

Can there be a setting to change the binding, or can we settle on something more universal? thanks!

--- Edit ---
I see this was referenced in #31. Just starting an issue for the discussion! :)

@jbnicolai
Copy link
Member

Any suggestions? It's hard to find keys that do not conflict with other (OS/terminal/readline) bindings..

@NHDaly
Copy link
Author

NHDaly commented Feb 21, 2016

Is <prefix>-C (for Clean) available? That's what I've bound it to on my local machine.

@daenney
Copy link

daenney commented Mar 7, 2016

<prefix>-R would be another option, for "Remove".

@zhangyufei49
Copy link

zhangyufei49 commented Jul 2, 2019

Why

The 'Terminal' app re-map the alt key function

Solutions

  1. If you are using iTem2 you can change the default options here:
    pic
    Just modify the alt key's behavior to +Esc

  2. If you don't wan't to change the terminal options you can modify the @tpm-clean value in your tmux.conf to re-map the default clean key binding

etc:

set -g @tpm-clean 'u'

@guoliang
Copy link

any idea how to change option key to meta key in Alacritty?

@suinly
Copy link

suinly commented May 5, 2023

any idea how to change option key to meta key in Alacritty?

@guoliang just add this to tmux.conf and reload:

set -g @tpm-clean 'u'

Now you can uninstall by press <prefix>+u (e.g.: control+b+u)

elliott-liu added a commit to elliott-liu/dotfiles that referenced this issue Feb 7, 2024
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

6 participants