Frequently I double-click to select a word, then press "delete". Recently it seems the behaviour somehow changed to also delete the space before the word. Is there a way to revert this?

For example (cursor is |, selection is #):

this is some text|

I double-click on "text":

this is some #text#|

Press delete:

this is some|

What I expected:

this is some |


This is by design. If you don’t want the space trimmed, use alt+delete to delete the word.

this is some text|

goes to

this is some |

  • Is there a way to set this as default behavior?
    – At0mic
    Jan 14 '20 at 1:15
  • I'm asking if there's a way to make it not delete spaces without having to press alt.
    – At0mic
    Jan 14 '20 at 16:01
  • not that I know of. I didnt even know that space is deleted in selection.
    – anki
    Jan 14 '20 at 16:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .