When you type edit in laravel's tinker shell, it pops up a nano editor for you to type your commands in. The thing is I'm more comfortable with vim and I'm wondering if there's a way to change the default editor from nano to vim.
I already tried export EDITOR=vim in my .bashrc (and .zshrc just incase), to no avail.
You also need to modify your
.bash_profileto containexport EDITOR=vim. It seems tinker uses that file rather than your.bashrcor.zshrc.