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

^J cannot be bound: cmus: Error: invalid key '^J' #357

Open
philc opened this issue Nov 15, 2015 · 4 comments
Open

^J cannot be bound: cmus: Error: invalid key '^J' #357

philc opened this issue Nov 15, 2015 · 4 comments

Comments

@philc
Copy link

philc commented Nov 15, 2015

When running this command:

bind -f common ^J win-mv-before

I get the error message: Error: invalid key '^J'

I can bind ^K successfully, but not ^J. ^J should be bindable.

This is version 2.7.1 on OSX, installed via homebrew.

@philc
Copy link
Author

philc commented Nov 15, 2015

^j also has this problem.

@flyingmutant
Copy link
Member

Thanks for reporting! Does 3780adf fix the problem?

@flyingmutant
Copy link
Member

Unfortunately, there is no way to distinguish ^I/\t and ^J/\n. Because of this, ^I and ^J are unbindable.

@philc
Copy link
Author

philc commented Nov 17, 2015

Thanks for investigating; that's tricky. If there's no workaround, it would
be helpful if the cmus error msg told the user this is why ^j is unbindable.
On Nov 17, 2015 11:42 AM, "Gregory Petrosyan" notifications@github.com
wrote:

Unfortunately, there is no way to distinguish ^I/\t and ^J/\n. Because of
this, ^I and ^J are unbindable.


Reply to this email directly or view it on GitHub
#357 (comment).

@mahkoh mahkoh added documentation and removed bug labels Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants