From 75408901c0433c96b4ae01da2d1e7fe6992ae099 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 30 Sep 2023 21:40:00 -0700 Subject: [PATCH] Improve emacs aliases --- init.zsh | 3 +++ 1 file changed, 3 insertions(+) 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