-
Notifications
You must be signed in to change notification settings - Fork 334
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
Option / Meta key not working in Tmux #308
Comments
Apologies but I don't have much familiarity around using option / meta for these (the few times I've dabbled in those keys for bindings in the past have been rough). I would expect this to work, and I don't see anything obviously wrong with your config, but also know this is a tricky space. Best of luck, and please do share if you sort anything out here (or if you happen to find that the plugin is in fact doing something wrong). |
@christoomey thank you for the quick response :) its at least good info to know that the config is ok. will let you know if i make any progress. |
@christoomey actually one more point. I only ended up using Meta because ctrl didnt work with ctrl-h. When I do that I get a message that says "No more marks available". The other three commands (j/k/l) work. Any idea on that? |
Sounds like you've got a conflicting mapping in Vim (the mention of "marks" makes me think it's Vim). You can check with |
I have the same problem in Manjaro xfce, however, it seems like it is something bigger than the plugin, even if I try to remap |
In my case the general solution presented in StackExchange worked. However, your problem seem to be well known for on OS X, does this answer solve your problem? |
I have the same issue using iTerm2 v3.4.15 using tmux (both v2.8 and v3) on MacOS Catalina 10.15 |
I have the same issue as @Nugumanov. Any other alternative @leandrochiarini ? |
I resolved this by changing the left Option key to Esc+ in preferences. @Nugumanov probably you can also try this if you still haven't found the solution. |
@ksajan -- that worked for me, in tmux within iterm2. Thanks! |
I am using neovim and tmux (with tmuxinator) on my M1 Macbook with iTerm2 or Warp (https://www.warp.dev/) as my terminal (i had been using Warp primarily until this issue and saw lots of references to iTerm2 which i tried but still had issues with).
I have mapped my left option key to be my meta key in my terminal. I would like to use
<M-h/j/k/l>
in order to navigate between neovim splits and tmux panes. Mapping my left option key to meta and using it with h/j/k/l works as expected in neovim (including neovim in tmux - i.e. i can navigate neovim splits and go from neovim to a tmux terminal pane). However, in a tmux terminal pane it either does nothing in iTerm2 or brings up alternate text (˙∆˚¬
forhjkl
to be specific) in Warp instead of switching panes or switching into nvim.Below are my configurations which were from https://github.com/christoomey/vim-tmux-navigator and i just updated them to use meta instead of ctrl:
init.vim
.tmux.conf
Do I have the right configurations? If so, any insight on how I can get this working?
The text was updated successfully, but these errors were encountered: