diff --git a/init.zsh b/init.zsh index 0b9c756..60d4994 100644 --- a/init.zsh +++ b/init.zsh @@ -60,14 +60,17 @@ if [[ -v NVIM ]]; then alias n=nvr alias nvim=nvr alias e=nvr + alias emacs=nvr elif [[ -v INSIDE_EMACS ]]; then export EDITOR='emacsclient' alias e='emacsclient ' + alias emacs='emacsclient ' alias n='emacsclient ' else export EDITOR='emacsclient -nw' alias n=nvim alias e='emacsclient -nw ' + alias emacs='emacsclient -nw ' fi export VISUAL="${EDITOR}" alias se=sudoedit