Improve emacs aliases
This commit is contained in:
parent
e7f9937b52
commit
75408901c0
3
init.zsh
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user