top | item 42818448

(no title)

lowboy | 1 year ago

Zed has the least uncanny valley of any vim emulation that I've tried.

Switching is not feasible for me until they get mini.surround[0] and Flash.nvim[1], particularly Flash's treesitter mode (see screenshot of [1] to get an idea).

They work particularly well together to select semantically meaningful chunks of code and add/remove/change surrounding parens/braces/curlies/etc.

0: https://github.com/echasnovski/mini.surround

1: https://github.com/folke/flash.nvim

discuss

order

roland35|1 year ago

Surround is amazing. I agree that all these vim modes are nice, but nothing beats the real thing.

narnarpapadaddy|1 year ago

I think I understand the use case for a smart surround plugin like this; I watched the demo video and saw and lot of picking-and-pulling text.

What I don’t understand is the development workflow that includes so much text manipulation. If you’re writing new code, there’s nothing to manipulate. If you’re refactoring existing code, wouldn’t you want the support typical AST-based refactoring tools provide? Where’s the sweet spot where shuffling strings around makes sense?

That’s not sarcasm. I’m genuinely asking.