Hacker News new | ask | show | jobs
by matejn 346 days ago
I hate that even more, especially since Visual Studio introducted it. I had the habit of selecting some text, and then typing to replace it. Now when my replacement starts with a parenthesis or quote, the text just gets surrounded instead!

Maybe this is just an XKCD moment https://xkcd.com/1172/ ...

1 comments

I think for the feature of wrapping, it is useful enough + just typing a->backspace->" is easy enough that I think it's a net win
But there have been sensible bindings for doing this forever, e.g.: https://github.com/tpope/vim-surround

There's no need to break normal editing behavior.