Skip to content

Alt+d should delete word after cursor #5018

@verhovsky

Description

@verhovsky

What feature would you like to see?

Alt+d should delete until the end of the current word. For example if ^ is the cursor, pressing it on this line

first second third
      ^

results in this:

first  third
      ^

Additional information

This is a standard readline shortcut supported everywhere else in the terminal, documented as "M-d" here:

https://www.gnu.org/software/bash/manual/html_node/Readline-Killing-Commands.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions