Bug 1477328
Summary: | Ctrl-W (erase word) in vi editing-mode has wrong behavior | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Florian <trailtotale> |
Component: | readline | Assignee: | Jaromír Cápík <jaromir.capik> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 26 | CC: | c.david86, jan.kratochvil, jaromir.capik, jchaloup, svashisht |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-02 15:43:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Florian
2017-08-01 19:40:59 UTC
Meh, version above was bad copy/paste. Here we go: readline-7.0-5.fc26.x86_64 Turns out this not a bug but rather a change in defaults. For others who find themselves in a similar situation: CHANGES mentions: m. The default binding for ^W in vi mode now uses word boundaries specified by Posix (vi-unix-word-rubout is bindable command name). The change I needed in ~/.inputrc to restore prior behavior was: # This is necessary since ^W is the default stty werase character as readline # will bind it to its vi-mode equivalent when that variable is enabled. set bind-tty-special-chars off # Bind to the old rubout feature rather than the new vi-unix-word-rubout feature. +control-w: unix-word-rubout |