Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • is there any way to change it? (other than recompiling my own version of Bash). Can this be changed in .bashrc, for instance ? Commented Aug 16, 2014 at 22:22
  • @MartinVegter Yes, you can modify any of the bindings in ~/.inputrc. Commented Aug 17, 2014 at 0:12
  • could you please suggest how I can modify my ~/.inputrc, so that Alt-D acts on whole words (same as Ctrl-W) ? Commented Aug 17, 2014 at 0:29
  • @MartinVegter You can use ~/.inputrc to rebind any of the readline functions; to change the functions themselves, you'd have to hack the source... Commented Aug 17, 2014 at 3:10
  • OK, but what line shall I put into my ~/.inputrc, so that Alt-D acts on whole words (whitespace separated) Commented Aug 17, 2014 at 10:48