Add -a to emacsclient aliases
This commit is contained in:
parent
3079b878eb
commit
a17ad2dc3c
8
init.zsh
8
init.zsh
@ -75,11 +75,11 @@ elif [[ -v INSIDE_EMACS ]]; then
|
||||
alias dired='emacsclient '
|
||||
alias d='emacsclient '
|
||||
else
|
||||
export EDITOR='emacsclient -nw'
|
||||
export EDITOR='emacsclient -a nvim -nw'
|
||||
# Because I keep using n by mistake
|
||||
alias n='emacsclient -nw '
|
||||
alias e='emacsclient -nw '
|
||||
alias emacs='emacsclient -nw '
|
||||
alias emacs='emacsclient -a nvim -nw '
|
||||
alias n=emacs
|
||||
alias e=emacs
|
||||
function dired() {
|
||||
if (( ${#} == 0 )); then
|
||||
emacsclient -nw --eval '(dired ".")'
|
||||
|
Loading…
Reference in New Issue
Block a user