Hyper: CTRL+a does not work in tmux under Linux

Created on 8 Dec 2016  路  7Comments  路  Source: vercel/hyper

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Ubuntu 16.10
  • Hyper.app version: @aa41081
  • Link of a Gist with the contents of your .hyper.js: original .hyper.js
  • Relevent information from devtools _(CMD+SHIFT+I on Mac OS, CTRL+SHIFT+I elsewhere)_: N/A
  • The issue is reproducible in vanilla Hyper.app: Is Vanilla

Issue

I mapped tmux's "CTRL+b" to "CTRL+a" for convenience. When using tmux under Linux, CTRL+a does not work. I did notice that "CTRL+SHIFT+a" works for the expected "CTRL+a" tmux behavior, but this is still very annoying.

This looks similar to issue #1069, but not sure if they have the same underlying cause.

Most helpful comment

Hi, I've put in a pull request that hopefully addresses this issue here: https://github.com/zeit/hyper/pull/1191 . It would make the default mod key into Ctrl+Shift on Windows and Linux so that there are no longer conflicts with CLI apps using Ctrl shortcuts.

It does not make the mod key configurable in hyper.js, but I think there's another patch in the works for that.

Feedback is helpful! The pull request is surely not perfect.

All 7 comments

Same issue in ubuntu 14.04

Along with above issues

  • Pressing Ctrl/Right click deselects the current mouse selection

These are regressions

It seems like a lot of keybindings aren't passed to the shell, like Ctrl-a, Ctrl-x, Ctrl-n, Ctrl-z, Ctrl-w, Ctrl-k, Ctrl-t, and all Alt-keybindings

I'm on linux, using version 1.0.0

Hi, I've put in a pull request that hopefully addresses this issue here: https://github.com/zeit/hyper/pull/1191 . It would make the default mod key into Ctrl+Shift on Windows and Linux so that there are no longer conflicts with CLI apps using Ctrl shortcuts.

It does not make the mod key configurable in hyper.js, but I think there's another patch in the works for that.

Feedback is helpful! The pull request is surely not perfect.

I also have the problem, on Ubuntu, my tmux prefix is ctrl+a, it can not work in hyper.js

Can confirm latest version of Hyper (1.0.1.1369) on MacOS (OS X El Capitan) CTRL keybindings doesn't work.

My particular issue:

# Bind CTRL (+ Shift) + Tab to move between windows
# http://stackoverflow.com/questions/15470001/bind-ctrltab-and-ctrlshifttab-in-tmux
bind-key -n C-Tab next-window
bind-key -n C-S-Tab previous-window

Maybe related: https://github.com/zeit/hyper/issues/1121#issuecomment-267243914

Confirming for Hyper 1.3.1 on Debian for ctrl keybinds in general.

I have ctrl+left and ctrl+right shortcuts for switching panes. Oddly, they seem to work if I hit ctrl once then the arrow key twice. Would be nice to see https://github.com/zeit/hyper/pull/1191 go through :)

close in #1876

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leo picture leo  路  3Comments

yvan-sraka picture yvan-sraka  路  3Comments

eoinmurray picture eoinmurray  路  3Comments

aem picture aem  路  3Comments

hxnt picture hxnt  路  3Comments