export EDITOR="code -w"
is correct
meaning
-w --wait Wait for the files to be closed before returning.
Specifically, when I do a git rebase -i
, it opens the file before its contents are created.
This page is auto-translated from /nishio/EDITOR=codeをやめる using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.