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

Different control sequence for Backspace and Ctrl+Backspace #32

Open
Drup opened this issue Jun 9, 2014 · 6 comments
Open

Different control sequence for Backspace and Ctrl+Backspace #32

Drup opened this issue Jun 9, 2014 · 6 comments

Comments

@Drup
Copy link

Drup commented Jun 9, 2014

It would be very nice to be able to define an alternative control sequence for Ctrl-backspace (as urxvt does). I'm not sure if it's a limitation of vte or not.

@caleb-
Copy link
Owner

caleb- commented Jun 25, 2014

I made a quick googling but still not sure what Ctrl-backspace really does in an urxvt.
vte could send strings to its console, but I have not tried feeding control sequence though.

@Drup
Copy link
Author

Drup commented Jun 25, 2014

Which control sequence urxvt sends is not important (urxvt is inconsistent in this aspect anyway), the important fact is only that it sends one that is different than backspace.

@caleb-
Copy link
Owner

caleb- commented Jun 25, 2014

So you want Ctrl-backspace to send backspace in (evil)vte?

@Drup
Copy link
Author

Drup commented Jun 25, 2014

That's the current behavior, and that's precisely what I don't want !

Let me show you why I want it. Here is what I have in my .zshrc :

bindkey "^[[3;5~" kill-word # ctrl+delete delete a whole word

I would like to add

bindkey "SOMETHING" backward-delete-word

with SOMETHING being a control sequence returned when I press Ctrl+backspace.

I would like alt+backspace too, btw ;)

@caleb-
Copy link
Owner

caleb- commented Jun 25, 2014

Ah, I see.
Your feature request is in my TODO list now, but I have not touched evilvte code for quite some time...:-P

@Drup
Copy link
Author

Drup commented Jun 25, 2014

nice, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants