Open kirawi opened 3 months ago
We do still want to do command expansion for shell commands but kakoune does that tok so matching whatever they do should work
I find the escaping rules incomprehensible and end up just putting everything into a script even for small one-liner commands, so that I could just do :sh /path/to/script
. I would very much welcome just executing shell commands verbatim, except for expansions ofc.
https://github.com/helix-editor/helix/blob/e18b772654a51afd5c840e32456cb71640c3aa10/helix-term/src/commands/typed.rs#L3126-L3132
We should probably match Kakoune here to special-case shell commands. This would fix issues like https://github.com/helix-editor/helix/discussions/7752