As of nodejs 6.6.0, when using the nodejs REPL you can enter multiline text in the terminal with:
.editor
I would like the nodejs REPL to open an instance of vim (in the same manner that git does when prompting for commit information) so that I can enter the multiline text there.
Does anyone know how to configure this? I realize that I could just run the nodejs REPL within vim or neovim in the first place, but I'm looking for a pure fix here.