Skip to content

zle: don't override kill-word and backward-kill-word #160

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

Closed

Conversation

vincentbernat
Copy link
Contributor

Otherwise, we can't do echo hello hello^W^W^Y and get back echo hello hello (we get echo hello instead because ZLE doesn't detect two
consecutive calls to backward-kill-word).

I don't add more to this commit because other *-kill-* are less likely
to be used twice in a row when working with the shell. But maybe,
kill-line could be added too.

Closes #150.

Otherwise, we can't do `echo hello hello^W^W^Y` and get back `echo hello
hello` (we get `echo hello` instead because ZLE doesn't detect two
consecutive calls to backward-kill-word).

I don't add more to this commit because other `*-kill-*` are less likely
to be used twice in a row when working with the shell. But maybe,
`kill-line` could be added too.

Closes zsh-users#150.
@vincentbernat
Copy link
Contributor Author

In fact, this is a duplicate of #151 that I didn't see...

@nicoulaj
Copy link
Member

(Closing/reopening to trigger continuous integration)

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

Successfully merging this pull request may close these issues.

Consecutive delete-words do not get yanked consecutively
3 participants