More seamless sed / VIM Regex/Search Support #34926
Swivelgames
started this conversation in
Ideas From Vim
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice if sed/Vim regex support was a little more built-in to make the transition back and forth between Vim a little more seamless. It's a bit tough, though, because we likely don't want to transform Zed into Vim/Neovim, but personally I use sed search extensively in my day-to-day.
I recently enabled case-sensitive search by default.
But then I naturally used /\c to do a case-insensitive search, and realized I need to manually switch it to case-insensitive, which kind of broke me out of my trance 😅
I also noticed this when trying to use
\v
to enable regex replacing.I don't know how deeply Zed desires to make the transition between Zed and Vim/Neovim seamless, but dedicated
sed
support would be great, specifically:sed
support tofind
, not justfind/replace
sed
support by toggling search features based on find flags (like\c
,\C
,\v
,\V
)\zs
,\ze
, etc...) (This might benefit from its own issue, honestly)Beta Was this translation helpful? Give feedback.
All reactions