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

How to override terminal keys? #94

Open
trusktr opened this issue Jan 24, 2019 · 0 comments
Open

How to override terminal keys? #94

trusktr opened this issue Jan 24, 2019 · 0 comments
Labels
question ❓ Further information is requested

Comments

@trusktr
Copy link

trusktr commented Jan 24, 2019

For example, when I press ctrl-h, I'd like to run an Atom command instead of sending ^H to the terminal. How can I do this?

I tried

'body terminal-pane':
    'ctrl-h': 'termination:prev'
    'ctrl-l': 'termination:next'

but it doesn't work. I never use ^H or ^L for anything (well, I mean, I never use ctrl-h or ctrl-l for anything, and backspace is another issue...), so I'd like to map them to Atom commands.

I can do

'body terminal-pane':
    'ctrl-cmd-h': 'termination:prev'
    'ctrl-cmd-l': 'termination:next'

and that works, but I don't want to add cmd.

@the-j0k3r the-j0k3r added the question ❓ Further information is requested label Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question ❓ Further information is requested
Development

No branches or pull requests

2 participants