Feature Request: Shortcuts to delete whole word/lines using <Ctrl>+[<Shift>]+<DEL> #6096

Open
opened 2026-01-31 00:29:41 +00:00 by claunia · 0 comments
Owner

Originally created by @henry2man on GitHub (Jan 22, 2020).

Shorcuts to delete whole word/lines using <Ctrl>+[<Shift>]+<DEL>

In another CLI's (like Ubuntu one) we have very useful shortcuts to delete from the cursor to its right, deleting a word or the whole line. When I have this on the CLI:

$> ls myfolder

If I put the cursor just before "myfolder"

$> ls | myfolder

I can press <Ctrl>+<DEL> in order to delete the whole word:

$> ls | myfolder

Similary I can press <Ctrl>+<Shift>+<DEL> in order to delete all chars from the cursor to the end of the line.

Related to #755

Originally created by @henry2man on GitHub (Jan 22, 2020). # Shorcuts to delete whole word/lines using `<Ctrl>+[<Shift>]+<DEL>` In another CLI's (like Ubuntu one) we have very useful shortcuts to delete from the cursor to its right, deleting a word or the whole line. When I have this on the CLI: _$> ls myfolder_ If I put the cursor just before "myfolder" _$> ls **|** myfolder_ I can press `<Ctrl>+<DEL>` in order to delete the whole word: _$> ls **|** ~~myfolder~~_ Similary I can press `<Ctrl>+<Shift>+<DEL>` in order to delete all chars from the cursor to the end of the line. Related to #755
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6096