Skip to content

Add "Remove Word Left" to the keybindings of the console as well #12379

Closed

Description

@mmahmoudian

At the moment (Rstudio version 2022.07.1 Build 554) the "Remove Word Left" and "Remove Word Right" only exist in the "Editor" scope, but they are very useful features for the console (I believe he scope is called "R") as well. Also since the user has the option in the editor, it is very normal that they use the same keybinding in the console as well.

image

This situation can also get into a very annoying situation if the Remove Word Left is mapped to Ctrlw, because in Rstudio server which is opened in browser, Ctrlw means "close tab". So the user can get zapped when they want to delete a word, but instead they close the whole Rstudio. Adding this keybinding for the console scope in Rstudio would make the browser to pass it to the webpage rather than using it itself to execute an action.

The Ctrlw is by default mapped to "kill from the cursor to the previous whitespace" in almost all terminals (even R console), and all software that use readline:

image

you can get the same info page by running info readline "command line editing" "introduction" in the terminal of any GNU system.

Activity

  1. added
    new
    on Nov 29, 2022
  2. ronblum commented on Nov 30, 2022

    @ronblum
    Contributor

    @mmahmoudian Thank you for raising this, and the detailed description and comparisons! We'll review this as we continue to develop RStudio.

  3. added and removed
    new
    on Nov 30, 2022
  4. github-actions commented on May 30, 2023

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  5. added
    stale
    on May 30, 2023
  6. mmahmoudian commented on May 30, 2023

    @mmahmoudian
    Author

    Bump to remove stale

  7. removed
    stale
    on May 31, 2023
  8. github-actions commented on Dec 1, 2023

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  9. added
    stale
    on Dec 1, 2023
  10. mmahmoudian commented on Dec 2, 2023

    @mmahmoudian
    Author

    Bump to remove stale

  11. removed
    stale
    on Dec 3, 2023
  12. github-actions commented on May 31, 2024

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  13. added
    stale
    on May 31, 2024
  14. 6 remaining items

  15. github-actions commented on May 28, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  16. added
    stale
    on May 28, 2025
  17. mmahmoudian commented on May 28, 2025

    @mmahmoudian
    Author

    Bump to remove stale

  18. removed
    stale
    on May 29, 2025
  19. github-actions commented on Nov 26, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  20. added
    stale
    on Nov 26, 2025
  21. mmahmoudian commented on Nov 26, 2025

    @mmahmoudian
    Author

    Bump to remove stale

  22. removed
    stale
    on Nov 27, 2025
  23. github-actions commented on May 26, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.

  24. added
    stale
    on May 26, 2026
  25. mmahmoudian commented on May 26, 2026

    @mmahmoudian
    Author

    Bump to remove stale

  26. removed
    stale
    on May 27, 2026
  27. self-assigned this
    on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions