Overleaf uses Ace as the editor. Its Vim mode has the following odd way of treating an empty space as a word when pressing Ctrl+W to delete a word to the left of the cursor in Insert mode.
In native VIm, the same line is deleted with roughly 50% less fo the repetitions:
A related issue has been reported with Ctrl+Backspace as well, here on Github.
Is there a quick setting that I can integrate into this GreasyFork script? I now run it whenever I interact with the Overleaf editor.
Thanks a lot!
All the best,
-Linfeng