3 ms·
I think it is practical when highlighting text and then pressing " once puts quotes and the start and the end of the highlighted region. But I agree that in no
by BlindEyeHalo 1y ago
I think it is practical when highlighting text and then pressing " once puts quotes and the start and the end of the highlighted region.
But I agree that in normal input it is often annoying.
- matejn 1y agoI 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/ https://xkcd.com/1172/ ...
- jeffhuys 1y agoI 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
- pxc 1y agoBut there have been sensible bindings for doing this forever, e.g.: https://github.com/tpope/vim-surround https://github.com/tpope/vim-surround There's no need to break normal editing behavior.