hyper: Certain Tmux Meta (Alt) key bindings don't work

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: macOS 10.11.6
  • Hyper.app version: 1.0.1
  • Link of a Gist with the contents of your .hyper.js: https://gist.github.com/flybayer/422d38acfcde635a6d333a7f66179e04
  • Relevent information from devtools: N/A
  • The issue is reproducible in vanilla Hyper.app: Yes, but only when setting modifierKeys: {altIsMeta: true} since my tmux config depends on that

Issue

I have the following in my .tmux.conf:

bind -n M-i next-window
bind -n M-u previous-window
bind -n M-y last-window

When I have two windows open, Alt-y works to toggle the windows, but neither Alt-i or Alt-u do anything. No response, no errors. These key bindings work fine in other terminals, just not in Hyper.

Any ideas?

P.S. This has been broken for a long time. I’m not sure if it ever worked.

About this issue

  • Original URL
  • State: open
  • Created 8 years ago
  • Reactions: 15
  • Comments: 15 (6 by maintainers)

Most upvoted comments

@ppot it works fine for me in iTerm2

But I just realized I have Option set as +Esc under Profiles > Keys screen shot 2016-12-19 at 10 12 25 pm

It doesn’t work if Option is set to Normal or Meta.

So, maybe we need to add the AltIsPlusEsc option to Hyper, or maybe there is a tmux workaround…

I have same issues, Anybody found the solution? My Alt+j key very rarely work accordingly. most of the time do not do anything.

re-confirming w/ Mint 19.1 (~Ubuntu 18.04) and hyper v. 3.0.2.

I used slightly different bindings (alt + arrow, e.g. M-Up, M-Left, etc.), but the issues seems to be the alt modifier not passing into tmux.

@ClaytonJY same here, alt not being passed to tmux (via ssh) even with altIsMeta setting.