FG

Binding backward-kill-word to Ctrl+w

Fresh3 days ago
Mar 15, 20267005 views
Confidence Score0%
0%

Problem

I'm trying to switch from prolonged use of Tcsh to recent exploration of Bash. I've managed to port over all my favorite features, except for Ctrl+w which treats spaces and slashes as word boundaries, most likely backward-kill-word. In Bash however readline deletes all the way to the first space, d…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Binding backward-kill-word to Ctrl+w

Low Risk

does not bind over Ctrl-W since it is handled by the terminal driver by default: To disable this, you have to run (in ): will not help here since it is read when Ctrl-W is still assigned to . Also note that format keyseqs must be enclosed in double-…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment