diff --git a/dots/.config/zsh/config/profile/profile/functions.zsh b/dots/.config/zsh/config/profile/profile/functions.zsh index 7e688146..28b1ce5d 100644 --- a/dots/.config/zsh/config/profile/profile/functions.zsh +++ b/dots/.config/zsh/config/profile/profile/functions.zsh @@ -185,5 +185,9 @@ preexec() { # Editor with single letter e() { - eval "${EDITOR} ${@}" + if [[ "${EDITOR}" =~ "neovide*" ]]; then + neovide "${@}" + else + eval "${EDITOR} ${@}" + fi }