I use zsh, oh-my-zsh, neovim, alacritty, and zsh-vi-mode oh-my-zsh plugin. My EDITOR is set to /usr/local/bin/nvim -u /Users/aleksander/.config/nvim/init.lua
When I try to edit a command line via vv in normal mode neovim launches but not reading the usual config nor regular plugins. Whats the reason? How can I fix it?
Asked
Active
Viewed 514 times
0
-
2What is `$ZVM_VI_EDITOR` set to? That's the variable the plugin uses to launch the editor. – yut23 May 06 '22 at 16:55
-
It was set to `vim`! Documentation says `You can change the editor by ZVM_VI_EDITOR option, by default it is $EDITOR.` so I didn't suspect it – sumek May 06 '22 at 20:42
-
But I `source⋅$ZSH/oh-my-zsh.sh` before setting $EDITOR – sumek May 06 '22 at 20:43
-
The short version is that your comment helped – sumek May 06 '22 at 20:43