set editor for rails credentails edit windows code example
Example: add edit or --wait for rails credentials edit windows
> $env:EDITOR="code --wait"
> rails credentials:edit
> $env:EDITOR="code --wait"
> rails credentials:edit