[GH-ISSUE #1985] [FR] Ctrl, shift or alt + backspace deletes a whole word at a time #783

Closed
opened 2026-03-23 20:41:00 +00:00 by mirror · 9 comments
Owner

Originally created by @annieappflowy on GitHub (Mar 13, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1985

Originally assigned to: @MayurSMahajan on GitHub.

Description

As described in the title

Impact

Users who use a shortcut to delete a word

Additional Context

No response

Originally created by @annieappflowy on GitHub (Mar 13, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1985 Originally assigned to: @MayurSMahajan on GitHub. ### Description As described in the title ### Impact Users who use a shortcut to delete a word ### Additional Context _No response_
mirror 2026-03-23 20:41:00 +00:00
  • closed this issue
  • added the
    shortcuts
    label
Author
Owner

@MayurSMahajan commented on GitHub (Mar 13, 2023):

Hello @annieappflowy! Actually pressing ctrl + backspace already deletes a word. This issue (#75 ) is already completed with this PR: #1845 . Maybe on some users' keyboards, it might not work because of different international keyboard layouts.

<!-- gh-comment-id:1466586934 --> @MayurSMahajan commented on GitHub (Mar 13, 2023): Hello @annieappflowy! Actually pressing ctrl + backspace already deletes a word. This issue (#75 ) is already completed with this PR: #1845 . Maybe on some users' keyboards, it might not work because of different international keyboard layouts.
Author
Owner

@Erik0806 commented on GitHub (Mar 14, 2023):

Doesn't work on a German keyboard

<!-- gh-comment-id:1467780184 --> @Erik0806 commented on GitHub (Mar 14, 2023): Doesn't work on a German keyboard
Author
Owner

@annieappflowy commented on GitHub (Mar 14, 2023):

The user who reported this issue is on a Norwegian keyboard

<!-- gh-comment-id:1467796952 --> @annieappflowy commented on GitHub (Mar 14, 2023): The user who reported this issue is on a Norwegian keyboard
Author
Owner

@richardshiue commented on GitHub (Mar 15, 2023):

I'm not sure what's the norm on macOS but I've only been able to delete a whole word at a time in other text fields or text editing software (browser, office, etc) with Ctrl+Backspace, not shift+backspace or alt+backspace.

And to add to this, I hope the usability of the handler can be improved. When Ctrl+Backspace is triggered while there are multiple spaces and tabs after a word like an apple |, should still be able to delete the word. That is, the previous text turns into an |

<!-- gh-comment-id:1469468201 --> @richardshiue commented on GitHub (Mar 15, 2023): I'm not sure what's the norm on macOS but I've only been able to delete a whole word at a time in other text fields or text editing software (browser, office, etc) with Ctrl+Backspace, not shift+backspace or alt+backspace. And to add to this, I hope the usability of the handler can be improved. When Ctrl+Backspace is triggered while there are multiple spaces and tabs after a word like `an apple |`, should still be able to delete the word. That is, the previous text turns into `an |`
Author
Owner

@LucasXu0 commented on GitHub (Mar 15, 2023):

@MayurSMahajan is working on this issue. Users can customize the delete a whole word to their desired keybinding.

<!-- gh-comment-id:1469549655 --> @LucasXu0 commented on GitHub (Mar 15, 2023): @MayurSMahajan is working on this issue. Users can customize the `delete a whole word` to their desired keybinding.
Author
Owner

@MayurSMahajan commented on GitHub (Mar 15, 2023):

And to add to this, I hope the usability of the handler can be improved. When Ctrl+Backspace is triggered while there are multiple spaces and tabs after a word like an apple |, should still be able to delete the word. That is, the previous text turns into an |

Yeah, that could be more reasonable, I will see what I can do about it.

<!-- gh-comment-id:1470015133 --> @MayurSMahajan commented on GitHub (Mar 15, 2023): > And to add to this, I hope the usability of the handler can be improved. When Ctrl+Backspace is triggered while there are multiple spaces and tabs after a word like `an apple |`, should still be able to delete the word. That is, the previous text turns into `an |` Yeah, that could be more reasonable, I will see what I can do about it.
Author
Owner

@iBobik commented on GitHub (Mar 27, 2023):

It should by default follow OS conventions. So on macOS alt+backpace for word.

<!-- gh-comment-id:1484983859 --> @iBobik commented on GitHub (Mar 27, 2023): It should by default follow OS conventions. So on macOS alt+backpace for word.
Author
Owner

@Xazin commented on GitHub (Mar 27, 2023):

There is this PR on the Editor repo (https://github.com/AppFlowy-IO/appflowy-editor/pull/32)

What it does is it makes cmd + backspace delete to beginning of sentence on MacOS, and alt + backspace on Windows. And makes it so ctrl + backspace on Windows deletes word, on MacOS word deletion is alt (option) + backspace.

<!-- gh-comment-id:1485691069 --> @Xazin commented on GitHub (Mar 27, 2023): There is this PR on the Editor repo (https://github.com/AppFlowy-IO/appflowy-editor/pull/32) What it does is it makes `cmd + backspace` delete to beginning of sentence on MacOS, and `alt + backspace` on Windows. And makes it so `ctrl + backspace` on Windows deletes word, on MacOS word deletion is `alt (option) + backspace`.
Author
Owner

@Xazin commented on GitHub (May 13, 2023):

@annieappflowy This can be closed as done 👍

<!-- gh-comment-id:1546729665 --> @Xazin commented on GitHub (May 13, 2023): @annieappflowy This can be closed as done :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#783
No description provided.