Hacker News new | ask | show | jobs
by 0xdeadbeefbabe 657 days ago
In vim vi or nvim :r !date gives me shell returned 2
1 comments

Did you set your login shell to Elvish? Vim unfortunately relies on your shell being a POSIX shell, but you can fix that with "set shell=/bin/sh" in your rc file.
FWIW, I've just added this instruction to https://elv.sh/get/default-shell.html#vim-/-neovim