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

custom key binding question #84

Closed
mckellyln opened this issue May 15, 2020 · 1 comment
Closed

custom key binding question #84

mckellyln opened this issue May 15, 2020 · 1 comment
Labels
invalid This doesn't seem right

Comments

@mckellyln
Copy link

mckellyln commented May 15, 2020

Hi,
Thanks always for awesome terminator.
NOT AN ISSUE, just a question -
Is it possible to bind some key combos that dont seem to produce the same esc codes that I'm used to ? In an older terminator version I used a plugin that defined things like:

def key_ctrl_back(self):
    self.vte.feed_child('\x1b\x7f', 2)
setattr(Terminal, 'key_ctrl_back', key_ctrl_back)

and then in the config:

  ctrl_back = <Control>BackSpace

But this does not seem to work in the latest terminator, so I'm just not sure if this is still possible or what I have wrong.
thx for any help/advice/suggestions,
take care,
-m

@mckellyln
Copy link
Author

I figured it out. I forgot to add the leading "key_" to the name.
take care,
-m

@lazyfrosch lazyfrosch added the invalid This doesn't seem right label May 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants