Update emacs aliases
This commit is contained in:
parent
b3bbb692c1
commit
029259623d
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
alias e='emacsclient -n'
|
||||
ediff() { e --eval "(ediff-files \"$1\" \"$2\")"; }
|
||||
e() { pgrep emacs && emacsclient -n "$@" || emacs -nw "$@" }
|
||||
ediff() { emacs -nw --eval "(ediff-files \"$1\" \"$2\")"; }
|
||||
eman() { emacs -nw --eval "(switch-to-buffer (man \"$1\"))"; }
|
||||
ekill() { emacsclient --eval '(kill-emacs)'; }
|
||||
|
|
Loading…
Reference in a new issue